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 |