Skip to content

Instantly share code, notes, and snippets.

@legumbre
Created April 30, 2014 14:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save legumbre/26cd19028292f0ae17c6 to your computer and use it in GitHub Desktop.
Save legumbre/26cd19028292f0ae17c6 to your computer and use it in GitHub Desktop.
verbose magit-pull
(defadvice magit-pull (around magit-pull-verbose compile activate)
"Force magit to use -v for git pull"
(let ((magit-custom-options (cons "-v" magit-custom-options)))
ad-do-it))
@sohailsomani
Copy link

Better than my solution:

--- a/.emacs.d/elpa/magit-20140416.1539/magit.el    Tue Apr 29 13:23:55 2014 -0400
+++ b/.emacs.d/elpa/magit-20140416.1539/magit.el    Wed Apr 30 10:38:44 2014 -0400
@@ -5683,7 +5683,7 @@
           (magit-set (format "%s" chosen-branch-merge-name)
                      "branch" branch "merge"))
         (magit-run-git-async
-         "pull" magit-custom-options
+         "pull" "-v" magit-custom-options
          (and choose-remote chosen-branch-remote)
          (and (or choose-remote choose-branch)
               (list (format "refs/heads/%s:refs/remotes/%s/%s"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment