Anomaly in git log?

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

 



Hi,

I noticed that under some circumstances "git log <range> -- <file>" will
not show you all the commits in the range that affected that file.  In
particular if one of the commits removes the file, previous modifying
commits are not shown.

I found this in the current linux-next tree (next-20080229).

git log stable.. -- arch/avr32/kernel/semaphore.c

will show the commit that removes this file, but not the commit that
modifies it.  So, is this a bug in git log or my understanding?

If you do "git log -p stable.." and search for the file name, you will
find the other commit.

git version 1.5.4.3 from Debian unstable.

-- 
Cheers,
Stephen Rothwell                    sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgpxhap7KBOQ1.pgp
Description: PGP signature


[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