diff options
author | Brian Gernhardt <brian@gernhardtsoftware.com> | 2010-09-24 18:15:34 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-09-26 21:27:37 -0700 |
commit | 9027fa9eb7df606b6658dd48a40bb993ce222ddd (patch) | |
tree | ff216c0ddd51651f61aeb8127d7a2d4bec6f0088 /alloc.c | |
parent | t/t3903-stash: improve testing of git-stash show (diff) | |
download | tgif-9027fa9eb7df606b6658dd48a40bb993ce222ddd.tar.xz |
git-stash: fix flag parsing
Currently git-stash uses `git rev-parse --no-revs -- "$@"` to set its
FLAGS variable. This is the same as `FLAGS="-- $@"`. It should use
`git rev-parse --no-revs --flags "$@"`, but that eats any "-q" or
"--quiet" argument. So move the check for quiet before rev-parse.
Signed-off-by: Brian Gernhardt <brian@gernhardtsoftware.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'alloc.c')
0 files changed, 0 insertions, 0 deletions