diff options
author | Thomas Gummerer <t.gummerer@gmail.com> | 2017-03-21 22:12:17 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-03-22 14:55:11 -0700 |
commit | 1790f4fea04c2401feda0c96e35a3b50b1ba4fe3 (patch) | |
tree | b0444e7b4f67395d451894b7eea9a955111cdf42 /t/t1600-index.sh | |
parent | stash: allow pathspecs in the no verb form (diff) | |
download | tgif-1790f4fea04c2401feda0c96e35a3b50b1ba4fe3.tar.xz |
stash: don't show internal implementation details
git stash push uses other git commands internally. Currently it only
passes the -q flag to those if the -q flag is passed to git stash. when
using 'git stash push -p -q --no-keep-index', it doesn't even pass the
flag on to the internal reset at all.
It really is enough for the user to know that the stash is created,
without bothering them with the internal details of what's happening.
Always pass the -q flag to the internal git clean and git reset
commands, to avoid unnecessary and potentially confusing output.
Reported-by: Jeff King <peff@peff.net>
Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com>
Reviewed-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1600-index.sh')
0 files changed, 0 insertions, 0 deletions