diff options
author | Phil Hord <phil.hord@gmail.com> | 2017-11-22 13:20:30 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-11-24 14:47:44 +0900 |
commit | 5675473fcbd18fb320ca17cffc107506f09c7464 (patch) | |
tree | b456661b1154e33dbab2aad67216432a95854503 /t/perf/p4000-diff-algorithms.sh | |
parent | Git 2.14.3 (diff) | |
download | tgif-5675473fcbd18fb320ca17cffc107506f09c7464.tar.xz |
stash: learn to parse -m/--message like commit does
`git stash push -m foo` uses "foo" as the message for the stash. But
`git stash push -m"foo"` does not parse successfully. Similarly
`git stash push --message="My stash message"` also fails. The stash
documentation doesn't suggest this syntax should work, but gitcli
does and my fingers have learned this pattern long ago for `commit`.
Teach `git stash` to parse -mFoo and --message=Foo the same as `git
commit` would do. Even though it's an internal function, add
similar support to create_stash() for consistency.
Signed-off-by: Phil Hord <phil.hord@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/perf/p4000-diff-algorithms.sh')
0 files changed, 0 insertions, 0 deletions