Gentoo Archives: gentoo-user

From: tastytea <gentoo@××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Git change logs
Date: Mon, 29 Nov 2021 10:39:25
Message-Id: 20211129113915.6af7dd30@ventiloplattform.tastytea.de
In Reply to: [gentoo-user] Git change logs by Peter Humphrey
1 On 2021-11-29 10:26+0000 Peter Humphrey <peter@××××××××××××.uk> wrote:
2
3 > Hello list,
4 >
5 > Today's update includes sys-devel/gcc-11.2.1_p20211127, up from
6 > 11.2.1. I wanted to find out what changes had been introduced, so I
7 > went searching for the change log. I sync gentoo with git, so it
8 > should be easy to find the log. Google found references to git log,
9 > but when I tried it I got this:
10 >
11 > /var/db/repos/gentoo # git log sys-devel/gcc-11.2.1_p20211127
12 > fatal: ambiguous argument 'sys-devel/gcc-11.2.1_p20211127': unknown
13 > revision or path not in the working tree.
14 > Use '--' to separate paths from revisions, like this:
15 > 'git <command> [<revision>...] -- [<file>...]'
16 >
17 > So I did that, but whatever I tried returned 'bad revision'. What's
18 > the proper syntax?
19
20 If you want the history for a file, you need to specify the full path:
21
22 git log sys-devel/gcc/gcc-11.2.1_p20211127.ebuild
23
24 Kind regards, tastytea
25
26 --
27 Get my PGP key with `gpg --locate-keys tastytea@××××××××.de` or at
28 <https://tastytea.de/tastytea.asc>.

Replies

Subject Author
Re: [gentoo-user] Git change logs Rich Freeman <rich0@g.o>
Re: [gentoo-user] Git change logs Peter Humphrey <peter@××××××××××××.uk>