{"thread":{"id":"5816","subject":"[PATCH] git.el: Fixed inverted \"renamed from/to\" message.","startedAt":"2006-10-05T09:29:57Z","lastAt":"2006-10-05T09:29:57Z","messageCount":1,"participants":["Alexandre Julliard"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"28234","messageId":"87odsr9kkq.fsf@wine.dyndns.org","threadId":"5816","inReplyTo":null,"subject":"[PATCH] git.el: Fixed inverted \"renamed from/to\" message.","fromName":"Alexandre Julliard","fromEmail":"julliard@winehq.org","sentAt":"2006-10-05T09:29:57Z","receivedAt":"2006-10-05T09:29:57Z","isPatch":true,"sender":{"key":"julliard@winehq.org","avatar":null},"body":"The deleted file should be labeled \"renamed to\" and the added file\n\"renamed from\", not the other way around (duh!)\n\nSigned-off-by: Alexandre Julliard <julliard@winehq.org>\n---\n contrib/emacs/git.el |    4 ++--\n 1 files changed, 2 insertions(+), 2 deletions(-)\n\ndiff --git a/contrib/emacs/git.el b/contrib/emacs/git.el\nindex 68de9be..5354cd6 100644\n--- a/contrib/emacs/git.el\n+++ b/contrib/emacs/git.el\n@@ -422,8 +422,8 @@ (defun git-rename-as-string (info)\n         (propertize\n          (concat \"   (\"\n                  (if (eq state 'copy) \"copied from \"\n-                   (if (eq (git-fileinfo->state info) 'added) \"renamed to \"\n-                     \"renamed from \"))\n+                   (if (eq (git-fileinfo->state info) 'added) \"renamed from \"\n+                     \"renamed to \"))\n                  (git-escape-file-name (git-fileinfo->orig-name info))\n                  \")\") 'face 'git-status-face)\n       \"\")))\n-- \n1.4.2.3.g1723\n\n-- \nAlexandre Julliard\njulliard@winehq.org\n"}]}