mirror of
https://github.com/git/git
synced 2024-08-25 02:35:46 +00:00
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
|
(propertize
|
||||||
(concat " ("
|
(concat " ("
|
||||||
(if (eq state 'copy) "copied from "
|
(if (eq state 'copy) "copied from "
|
||||||
(if (eq (git-fileinfo->state info) 'added) "renamed to "
|
(if (eq (git-fileinfo->state info) 'added) "renamed from "
|
||||||
"renamed from "))
|
"renamed to "))
|
||||||
(git-escape-file-name (git-fileinfo->orig-name info))
|
(git-escape-file-name (git-fileinfo->orig-name info))
|
||||||
")") 'face 'git-status-face)
|
")") 'face 'git-status-face)
|
||||||
"")))
|
"")))
|
||||||
|
|
Loading…
Reference in a new issue