stash: introduce push verb
commitf5727e26e44dbbf564034d3993d4d2f65dacd6fb
authorThomas Gummerer <t.gummerer@gmail.com>
Sun, 19 Feb 2017 11:03:08 +0000 (19 11:03 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 Feb 2017 07:47:41 +0000 (19 23:47 -0800)
tree70088d2b9eb37ec83f757886bf69c1e8cc08d3fe
parent20a7e06172fe054eac5a2f48932feb5ff5074919
stash: introduce push verb

Introduce a new git stash push verb in addition to git stash save.  The
push verb is used to transition from the current command line arguments
to a more conventional way, in which the message is given as an argument
to the -m option.

This allows us to have pathspecs at the end of the command line
arguments like other Git commands do, so that the user can say which
subset of paths to stash (and leave others behind).

Helped-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-stash.txt
git-stash.sh
t/t3903-stash.sh