git.el: Fixed inverted "renamed from/to" message.
The deleted file should be labeled "renamed to" and the added file "renamed from", not the other way around (duh!) Signed-off-by: Alexandre Julliard <julliard@winehq.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
9ccb64c8e0
commit
c530c5aa31
@ -422,8 +422,8 @@ and returns the process output as a string."
|
||||
(propertize
|
||||
(concat " ("
|
||||
(if (eq state 'copy) "copied from "
|
||||
(if (eq (git-fileinfo->state info) 'added) "renamed to "
|
||||
"renamed from "))
|
||||
(if (eq (git-fileinfo->state info) 'added) "renamed from "
|
||||
"renamed to "))
|
||||
(git-escape-file-name (git-fileinfo->orig-name info))
|
||||
")") 'face 'git-status-face)
|
||||
"")))
|
||||
|
Loading…
Reference in New Issue
Block a user