* vc/vc-git.el (vc-git-command): Disable the pager.
authorChong Yidong <cyd@gnu.org>
Fri, 30 Nov 2012 07:43:05 +0000 (15:43 +0800)
committerChong Yidong <cyd@gnu.org>
Fri, 30 Nov 2012 07:43:05 +0000 (15:43 +0800)
Fixes: debbugs:6137

lisp/ChangeLog
lisp/vc/vc-git.el

index d2f0824..5740d79 100644 (file)
@@ -1,3 +1,7 @@
+2012-11-30  Yuriy Vostrikov  <delamonpansie@gmail.com>  (tiny change)
+
+       * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
+
 2012-11-30  Samuel Bronson  <naesten@gmail.com>
 
        * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
index 5d7cb36..08b48fa 100644 (file)
@@ -1148,7 +1148,7 @@ This command shares argument histories with \\[rgrep] and \\[grep]."
 The difference to vc-do-command is that this function always invokes
 `vc-git-program'."
   (apply 'vc-do-command (or buffer "*vc*") okstatus vc-git-program
-         file-or-list flags))
+         file-or-list (cons "--no-pager" flags)))
 
 (defun vc-git--empty-db-p ()
   "Check if the git db is empty (no commit done yet)."