summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 391c53b)
raw | patch | inline | side by side (parent: 391c53b)
author | Thomas Rast <trast@student.ethz.ch> | |
Mon, 19 Oct 2009 15:48:12 +0000 (17:48 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 20 Oct 2009 05:28:26 +0000 (22:28 -0700) |
'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>
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>
Documentation/git-stash.txt | patch | blob | history | |
git-stash.sh | patch | blob | history |
index fafe728f890d5020ffc5f1ab28deb4b3d02313a5..3f14b727b899fbf3b4f7cb6513bd1b14e5938160 100644 (file)
----------------------------------------------------------------
+
The command takes options applicable to the 'git-log'
-command to control what is shown and how. If no options are set, the
-default is `-n 10`. See linkgit:git-log[1].
+command to control what is shown and how. See linkgit:git-log[1].
show [<stash>]::
diff --git a/git-stash.sh b/git-stash.sh
index f8847c1fc0ab53b2fec96407d710154ea9e16324..f796c2fe24f0eaec3de45bc5bf14f7dd2e29f4bd 100755 (executable)
--- a/git-stash.sh
+++ b/git-stash.sh
case "$1" in
list)
shift
- if test $# = 0
- then
- set x -n 10
- shift
- fi
list_stash "$@"
;;
show)