git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* git blame doesn't respect diff algorithm?
@ 2019-05-14  9:19 Pierre Ossman
  0 siblings, 0 replies; only message in thread
From: Pierre Ossman @ 2019-05-14  9:19 UTC (permalink / raw)
  To: git

Hi,

It seems like there is a bug in git blame where it doesn't respect the
diff algorithm setting. It happily parses it on the command line, but
there is no change to the output.

The problem materialises in that git blame will claim a line comes from
a certain commit. But when I do "git show --patience" on that commit,
the relevant line was not changed.

I could not find anything about this on the mailing list, so is this a
previously overlooked issue?

If you want to test it for your self, then do:

 1. Clone tigervnc's git repo
 2. git blame --patience vncviewer/DesktopWindow.cxx
 3. Check line 906, it should say 7e546feba
 4. git show --patience 7e546feba

This was with git-2.20.1-1.fc29.x86_64.

Regards
-- 
Pierre Ossman           Software Development
Cendio AB               https://cendio.com
Teknikringen 8          https://twitter.com/ThinLinc
583 30 Linköping        https://facebook.com/ThinLinc
Phone: +46-13-214600

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-05-14  9:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-14  9:19 git blame doesn't respect diff algorithm? Pierre Ossman

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).