[PATCH v3 5/5] stash list: drop the default limit of 10 stashes
- From
Thomas Rast <trast@student.ethz.ch>
- Date
- Oct 16, 2009, 14:20 UTC
- Message-ID
- <df4f4840d182cec33c279ce4008d707521dd4c01.1255701207.git.trast@student.ethz.ch>
- In-Reply-To
- <cover.1255701207.git.trast@student.ethz.ch>
'git stash list' had an undocumented limit of 10 stashes, unless other git-log arguments were specified. This surprised at least one user, but possibly served to cut the output below a screenful without using a pager.
Since the last commit, 'git stash list' will fire up a pager according to the same rules as the 'git log' it calls, so we can drop the limit.
Signed-off-by: Thomas Rast <trast@student.ethz.ch> --- git-stash.sh | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/git-stash.sh b/git-stash.sh index f8847c1..f796c2f 100755 --- a/git-stash.sh +++ b/git-stash.sh @@ -382,11 +382,6 @@ test -n "$seen_non_option" || set "save" "$@" case "$1" in list) shift - if test $# = 0 - then - set x -n 10 - shift - fi list_stash "$@" ;; show)
-- 1.6.5.116.gfe4b9