# git stash list with more than 10 items?

4 messages from 2009-10-12 to 2009-10-12. Participants: Jef Driesen, Jeff King, Miklos Vajna.
Thread: https://gitlist.dev/t/21216

## Jef Driesen, 2009-10-12 15:47

Subject: git stash list with more than 10 items?
Message-ID: <havj2n$d85$1@ger.gmane.org>
URL: https://gitlist.dev/e/havj2n%24d85%241%40ger.gmane.org

```
Hi,

Is it possible to make "git stash list" show more than 10 items?

Jef

```

## Jeff King, 2009-10-12 17:52

Subject: Re: git stash list with more than 10 items?
Message-ID: <20091012175201.GA10263@coredump.intra.peff.net>
URL: https://gitlist.dev/e/20091012175201.GA10263%40coredump.intra.peff.net
In-Reply-To: <havj2n$d85$1@ger.gmane.org>

```
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

```

## Miklos Vajna, 2009-10-12 19:37

Subject: [PATCH] git-stash documentation: mention default options for 'list'
Message-ID: <20091012193739.GR23777@genesis.frugalware.org>
URL: https://gitlist.dev/e/20091012193739.GR23777%40genesis.frugalware.org
In-Reply-To: <20091012175201.GA10263@coredump.intra.peff.net>

```
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

```

## Jeff King, 2009-10-12 19:39

Subject: Re: [PATCH] git-stash documentation: mention default options for 'list'
Message-ID: <20091012193925.GC11178@coredump.intra.peff.net>
URL: https://gitlist.dev/e/20091012193925.GC11178%40coredump.intra.peff.net
In-Reply-To: <20091012193739.GR23777@genesis.frugalware.org>

```
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

```
