git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] stash: Don't paginate by default with list command
@ 2011-08-30 17:21 Ingo Brückl
  2011-08-30 17:43 ` Ben Walton
  2011-08-30 17:57 ` Raphael Zimmerer
  0 siblings, 2 replies; 8+ messages in thread
From: Ingo Brückl @ 2011-08-30 17:21 UTC (permalink / raw)
  To: git

The output of "stash list" is such that piping into a pager
normally isn't necessary but annoying, so disable it by default.

Signed-off-by: Ingo Brückl <ib@wupperonline.de>
---
 git-stash.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/git-stash.sh b/git-stash.sh
index 31dec0a..b92d986 100755
--- a/git-stash.sh
+++ b/git-stash.sh
@@ -264,7 +264,7 @@ have_stash () {

 list_stash () {
 	have_stash || return 0
-	git log --format="%gd: %gs" -g "$@" $ref_stash --
+	git --no-pager log --format="%gd: %gs" -g "$@" $ref_stash --
 }

 show_stash () {
--
1.7.6

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-08-31 18:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-30 17:21 [PATCH] stash: Don't paginate by default with list command Ingo Brückl
2011-08-30 17:43 ` Ben Walton
2011-08-30 18:24   ` Ingo Brückl
2011-08-30 19:08     ` Raphael Zimmerer
2011-08-31 18:18     ` Ingo Brückl
2011-08-30 17:57 ` Raphael Zimmerer
2011-08-30 19:26   ` Junio C Hamano
2011-08-30 20:19     ` Raphael Zimmerer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).