Hi,
Is it possible to make "git stash list" show more than 10 items?
Jef
threads / discuss / 21216
Subject: git stash list with more than 10 items?
Hi,
Is it possible to make "git stash list" show more than 10 items?
Jef
Re: git stash list with more than 10 items?
On Mon, Oct 12, 2009 at 05:47:34PM +0200, Jef Driesen wrote:
> Is it possible to make "git stash list" show more than 10 items?
Try "git stash list -30".
Stash listing is internally just "git log -g refs/stash", so you can pass any formatting or limiting arguments you want there (see the git log documentation for ideas). If no arguments are given, we pass "-10".
-Peff
[PATCH] git-stash documentation: mention default options for 'list'
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org> ---
I just noticed this was not mentioned in the manpage.
Documentation/git-stash.txt | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Documentation/git-stash.txt b/Documentation/git-stash.txt index 3f14b72..fafe728 100644 --- a/Documentation/git-stash.txt +++ b/Documentation/git-stash.txt @@ -78,7 +78,8 @@ stash@{1}: On master: 9cc0589... Add git-stash ---------------------------------------------------------------- + The command takes options applicable to the 'git-log' -command to control what is shown and how. See linkgit:git-log[1]. +command to control what is shown and how. If no options are set, the +default is `-n 10`. See linkgit:git-log[1]. show [<stash>]::
-- 1.6.4
Re: [PATCH] git-stash documentation: mention default options for 'list'
On Mon, Oct 12, 2009 at 09:37:39PM +0200, Miklos Vajna wrote:
> I just noticed this was not mentioned in the manpage.
Thanks, looks like an improvement to me.
-Peff