git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git log -M -- filename is not working?
@ 2010-05-07 18:07 Eugene Sajine
  2010-05-07 18:10 ` Jacob Helwig
  0 siblings, 1 reply; 26+ messages in thread
From: Eugene Sajine @ 2010-05-07 18:07 UTC (permalink / raw)
  To: git; +Cc: Eugene Sajine

Hi!

I tried it in both git 1.6.5.6 and git 1.7.0.5

The file has been moved:

From
Src/folder1/folder2/File.java

To src/main/java/folder1/folder2/File.java

I don’t think it is relevant but just in case: The author has
committed the new file first, then the commit was amended with the
deletion of the source file.
So we ended up with the rename correctly detected.

Now
$ git log –M -- src/main/java/folder1/folder2/File.java

Shows only one last commit and doesn’t show the history when the file
was in source folder. Same thing happens with

$ git log –C  -- src/main/java/folder1/folder2/File.java

What gives?

Thanks,
Eugene

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

end of thread, other threads:[~2010-05-14  5:05 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-07 18:07 git log -M -- filename is not working? Eugene Sajine
2010-05-07 18:10 ` Jacob Helwig
2010-05-07 18:31   ` Eugene Sajine
2010-05-07 18:37     ` Eli Barzilay
2010-05-07 20:25       ` Matthieu Moy
2010-05-07 20:28       ` Jakub Narebski
2010-05-08  4:44       ` Jeff King
2010-05-08  5:12         ` Eli Barzilay
2010-05-08  5:30           ` Jeff King
2010-05-08  5:39           ` Junio C Hamano
2010-05-08  7:08             ` Eli Barzilay
2010-05-12 11:38               ` Jeff King
2010-05-12 12:01                 ` Eli Barzilay
2010-05-12 12:49                   ` Jeff King
2010-05-12 13:03                     ` Jeff King
2010-05-12 14:35                     ` Eli Barzilay
2010-05-12 16:07                       ` Bo Yang
2010-05-12 16:45                         ` Jeff King
2010-05-13  2:12                           ` Bo Yang
2010-05-13  4:39                             ` Eli Barzilay
2010-05-14  4:55                       ` Jeff King
2010-05-14  5:05                         ` Eli Barzilay
2010-05-12 13:06                   ` Bo Yang
2010-05-12 13:09                     ` Jeff King
2010-05-12 14:42                     ` Eli Barzilay
2010-05-12 14:49                       ` Bo Yang

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).