X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-stash.sh;h=f796c2fe24f0eaec3de45bc5bf14f7dd2e29f4bd;hb=6476b38b1f3d258006566c3c9c6c80cc07fda354;hp=4febbbfa5d13b241e9bfcc479c6767a90bd12919;hpb=0984e3a77246c536f938f53ecded99533fb31667;p=git.git diff --git a/git-stash.sh b/git-stash.sh index 4febbbfa5..f796c2fe2 100755 --- a/git-stash.sh +++ b/git-stash.sh @@ -205,8 +205,7 @@ have_stash () { list_stash () { have_stash || return 0 - git log --no-color --pretty=oneline -g "$@" $ref_stash -- | - sed -n -e 's/^[.0-9a-f]* refs\///p' + git log --format="%gd: %gs" -g "$@" $ref_stash -- } show_stash () { @@ -383,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)