On 2021-11-29 10:26+0000 Peter Humphrey <[email protected]> wrote:

> Hello list,
> 
> Today's update includes sys-devel/gcc-11.2.1_p20211127, up from
> 11.2.1. I wanted to find out what changes had been introduced, so I
> went searching for the change log. I sync gentoo with git, so it
> should be easy to find the log. Google found references to git log,
> but when I tried it I got this:
> 
> /var/db/repos/gentoo # git log sys-devel/gcc-11.2.1_p20211127
> fatal: ambiguous argument 'sys-devel/gcc-11.2.1_p20211127': unknown
> revision or path not in the working tree.
> Use '--' to separate paths from revisions, like this:
> 'git <command> [<revision>...] -- [<file>...]'
> 
> So I did that, but whatever I tried returned 'bad revision'. What's
> the proper syntax?

If you want the history for a file, you need to specify the full path:

git log sys-devel/gcc/gcc-11.2.1_p20211127.ebuild

Kind regards, tastytea

-- 
Get my PGP key with `gpg --locate-keys [email protected]` or at
<https://tastytea.de/tastytea.asc>.

Attachment: pgpeGvLWoh8Fd.pgp
Description: Digitale Signatur von OpenPGP

Reply via email to