summaryrefslogtreecommitdiff
path: root/git-stash.sh
diff options
context:
space:
mode:
authorThomas Rast <trast@student.ethz.ch>2009-10-19 15:48:12 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-10-20 05:28:26 (GMT)
commitb7b10385a84c741a4fe219807c9511f69403640a (patch)
tree7fe8a223f7a2d8dc8e58cd808c6092211c9006eb /git-stash.sh
parent391c53bdcd7bbce366eaef7288afb948525ed3e8 (diff)
downloadgit-b7b10385a84c741a4fe219807c9511f69403640a.zip
git-b7b10385a84c741a4fe219807c9511f69403640a.tar.gz
git-b7b10385a84c741a4fe219807c9511f69403640a.tar.bz2
stash list: drop the default limit of 10 stashes
'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> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-stash.sh')
-rwxr-xr-xgit-stash.sh5
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)