summaryrefslogtreecommitdiff
path: root/templates/hooks--applypatch-msg.sample
diff options
context:
space:
mode:
authorLibravatar Phil Hord <phil.hord@gmail.com>2017-11-22 13:20:30 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-11-24 14:47:44 +0900
commit5675473fcbd18fb320ca17cffc107506f09c7464 (patch)
treeb456661b1154e33dbab2aad67216432a95854503 /templates/hooks--applypatch-msg.sample
parentGit 2.14.3 (diff)
downloadtgif-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 'templates/hooks--applypatch-msg.sample')
0 files changed, 0 insertions, 0 deletions