All of lore.kernel.org
 help / color / mirror / Atom feed
* diff-filter can't identify renaming if not done directly
@ 2020-12-04 14:59 Sofia Syria
  2020-12-04 16:39 ` Jeff King
  0 siblings, 1 reply; 3+ messages in thread
From: Sofia Syria @ 2020-12-04 14:59 UTC (permalink / raw)
  To: git

Hello,

quick question about using diff-filter in linux. In the scenario
that in my repository, I first copy file1 to file2, then move file2 to
file3 and delete file1, "git diff" returns:

diff --git a/file1 b/file3
similarity index 100%
rename from file1
rename to file3

 but running "git diff --diff-filter=r" doesn't return anything. Only
flag "t" will return the change. Can this be considered as a bug?

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

end of thread, other threads:[~2020-12-04 20:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-04 14:59 diff-filter can't identify renaming if not done directly Sofia Syria
2020-12-04 16:39 ` Jeff King
2020-12-04 20:07   ` Junio C Hamano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.