]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'pb/am-show-current-patch'
authorJunio C Hamano <gitster@pobox.com>
Mon, 9 Mar 2020 18:21:19 +0000 (11:21 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Mar 2020 18:21:19 +0000 (11:21 -0700)
"git am --short-current-patch" is a way to show the piece of e-mail
for the stopped step, which is not suitable to directly feed "git
apply" (it is designed to be a good "git am" input).  It learned a
new option to show only the patch part.

* pb/am-show-current-patch:
  am: support --show-current-patch=diff to retrieve .git/rebase-apply/patch
  am: support --show-current-patch=raw as a synonym for--show-current-patch
  am: convert "resume" variable to a struct
  parse-options: convert "command mode" to a flag
  parse-options: add testcases for OPT_CMDMODE()

1  2 
contrib/completion/git-completion.bash
parse-options.c
parse-options.h
t/t0040-parse-options.sh

diff --cc parse-options.c
Simple merge
diff --cc parse-options.h
Simple merge
Simple merge