From a8b733a51903ddcffcab727edd0f386a44a24313 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Fri, 30 Nov 2012 15:43:05 +0800 Subject: [PATCH] * vc/vc-git.el (vc-git-command): Disable the pager. Fixes: debbugs:6137 --- lisp/ChangeLog | 4 ++++ lisp/vc/vc-git.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d2f0824e15e..5740d796f3e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2012-11-30 Yuriy Vostrikov (tiny change) + + * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137). + 2012-11-30 Samuel Bronson * progmodes/grep.el (grep-compute-defaults): Do not pass the -e diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index 5d7cb366e82..08b48fa7b40 100644 --- a/lisp/vc/vc-git.el +++ b/lisp/vc/vc-git.el @@ -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)." -- 2.39.5