@matheusbsbs / matheus-bagliano / commits / c530c5aa31
Fork 0

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>

Alexandre Julliard committed Oct 5, 2006 at 11:29 UTC c530c5aa31f44adafd1f4ecb05223024162e689c
1 file changed +2 -2
contrib/emacs/git.el
+2 -2
@@ -422,8 +422,8 @@ and returns the process output as a string."
422 (propertize
423 (concat " ("
424 (if (eq state 'copy) "copied from "
425 - (if (eq (git-fileinfo->state info) 'added) "renamed to "
426 - "renamed from "))
425 + (if (eq (git-fileinfo->state info) 'added) "renamed from "
426 + "renamed to "))
427 (git-escape-file-name (git-fileinfo->orig-name info))
428 ")") 'face 'git-status-face)
429 "")))