Gentoo Archives: gentoo-user

From: Arve Barsnes <arve.barsnes@×××××.com>
To: Gentoo <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Git change logs
Date: Mon, 29 Nov 2021 10:35:57
Message-Id: CAJjrzcWP00=Kpj93KOwG-Ra7fk67bDeW5EJ1qb+yRqTpU-4ksg@mail.gmail.com
In Reply to: [gentoo-user] Git change logs by Peter Humphrey
1 On Mon, 29 Nov 2021 at 11:26, Peter Humphrey <peter@××××××××××××.uk> wrote:
2 > /var/db/repos/gentoo # git log sys-devel/gcc-11.2.1_p20211127
3 > fatal: ambiguous argument 'sys-devel/gcc-11.2.1_p20211127': unknown revision
4 > or path not in the working tree.
5 > Use '--' to separate paths from revisions, like this:
6 > 'git <command> [<revision>...] -- [<file>...]'
7 >
8 > So I did that, but whatever I tried returned 'bad revision'. What's the proper
9 > syntax?
10
11 It lists the syntax right there. I don't sync with git, so I can't
12 check this with my repo, but it seems like you need to refer to an
13 actual path or file, so one of these:
14 $ git log sys-devel/gcc
15 $ git log sys-devel/gcc/gcc-11.2.1_p20211127.ebuild
16
17 Regards,
18 Arve