git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Anomaly in git log?
@ 2008-03-01  2:35 Stephen Rothwell
  2008-03-01  3:05 ` Shawn O. Pearce
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2008-03-01  2:35 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 754 bytes --]

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@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-01  3:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-01  2:35 Anomaly in git log? Stephen Rothwell
2008-03-01  3:05 ` Shawn O. Pearce

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).