On Mon, Nov 29, 2021 at 5:39 AM tastytea <[email protected]> wrote:
>
> 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
>

You can also point it at a directory and get changes for the entire
directory.  I also suggest trying "git whatchanged" as an alternative
to "git log."  I'm guessing you could get git log to display the same
info but I find whatchanged to be more useful, at least for
directories.  There wouldn't be much point in running it on a single
file since the main benefit is showing what files changed in each
commit.

Keep in mind that git knows nothing about gentoo package atoms/syntax.
It just sees a directory tree and files...

-- 
Rich

Reply via email to