Re: confused git diff -G

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > given to `-G`, like so:
> >
> >     $ git -C repo diff --stat HEAD^
> >      a | 1 +
> >      b | 1 +
> >      2 files changed, 2 insertions(+)
> >     $ git -C repo diff --stat HEAD^ -G a
> >      a | 1 +
> >      1 file changed, 1 insertion(+)
> >     $ git -C repo diff --stat HEAD^ -G b
> >      b | 1 +
> >      1 file changed, 1 insertion(+)

Never mind my last blurp, thank you for the explanation.

This is how I thought it works but the docs *^^$@%&$ for either
git-log or git-diff: the example from diff but the text is from log.
It could not be more confusing than this, not just might. If you want
to share the text, it should be generic.



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux