threads / patch / 6249

patchgit.el: Don't use --info-only when resolving a file.

Subject: [PATCH] git.el: Don't use --info-only when resolving a file.

## tl;dr

One message between Jan 6, 2007 and Jan 6, 2007. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Alexandre Julliard· Jan 6, 2007, 10:20 UTC · lore

It doesn't make a difference for git.el, but it helps when interacting with git-rebase and friends.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
---
 contrib/emacs/git.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to contrib/emacs/git.el +1 −1
diff --git a/contrib/emacs/git.el b/contrib/emacs/git.el
index b808234..98d3eae 100644
--- a/contrib/emacs/git.el
+++ b/contrib/emacs/git.el
@@ -802,7 +802,7 @@ and returns the process output as a string."
   (interactive)
   (let ((files (git-marked-files-state 'unmerged)))
     (when files
-      (apply #'git-run-command nil nil "update-index" "--info-only" "--" (git-get-filenames files))
+      (apply #'git-run-command nil nil "update-index" "--" (git-get-filenames files))
       (git-set-files-state files 'modified)
       (git-refresh-files))))
 
-- 
1.5.0.rc0.g5a8e

-- 
Alexandre Julliard
julliard@winehq.org

← back to recent threads