mirror of
https://github.com/git/git.git
synced 2026-04-11 09:20:10 +02:00
Merge branch 'jc/maint-blame-no-such-path' into maint
Even during a conflicted merge, "git blame $path" always meant to blame uncommitted changes to the "working tree" version; make it more useful by showing cleanly merged parts as coming from the other branch that is being merged. This incidentally fixes an unrelated problem on a case insensitive filesystem, where "git blame MAKEFILE" run in a history that has "Makefile" but not "MAKEFILE" did not say "No such file MAKEFILE in HEAD" but pretended as if "MAKEFILE" was a newly added file. * jc/maint-blame-no-such-path: blame: allow "blame file" in the middle of a conflicted merge blame $path: avoid getting fooled by case insensitive filesystems
This commit is contained in:
@@ -66,7 +66,7 @@ test_expect_success \
|
||||
git blame file2
|
||||
'
|
||||
|
||||
test_expect_success 'blame runs on conflicted file in stages 1,3' '
|
||||
test_expect_success 'blame does not crash with conflicted file in stages 1,3' '
|
||||
git blame file1
|
||||
'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user