summaryrefslogtreecommitdiff
path: root/contrib/hooks/setgitperms.perl
diff options
context:
space:
mode:
authorLibravatar Chris Torek <chris.torek@gmail.com>2020-07-20 06:17:52 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-07-20 14:35:43 -0700
commit9b906af657d4ec0bc8fc01c5cbbbddb582a8cac6 (patch)
tree7fed6466b79861f967bf3460a4070314012a294b /contrib/hooks/setgitperms.perl
parentGit 2.26.2 (diff)
downloadtgif-9b906af657d4ec0bc8fc01c5cbbbddb582a8cac6.tar.xz
git-mv: improve error message for conflicted file
'git mv' has always complained about renaming a conflicted file, as it cannot handle multiple index entries for one file. However, the error message it uses has been the same as the one for an untracked file: fatal: not under version control, src=... which is patently wrong. Distinguish the two cases and add a test to make sure we produce the correct message. Signed-off-by: Chris Torek <chris.torek@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/hooks/setgitperms.perl')
0 files changed, 0 insertions, 0 deletions