diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2014-02-10 10:11:47 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-05-18 23:24:35 +0300 |
commit | cd61e80ac85b2803b82521d8a6699d4b489ed997 (patch) | |
tree | 4ac87466724d6bd7d283edd2bfbb412583be0f1b | |
parent | bbfecd5922e5ae9664a3e587390968ff04f7a5dc (diff) | |
download | git-cd61e80ac85b2803b82521d8a6699d4b489ed997.tar.gz |
git-am: fix signoff
-rwxr-xr-x | git-am.sh | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -5,6 +5,10 @@ SUBDIRECTORY_OK=Yes OPTIONS_KEEPDASHDASH= OPTIONS_STUCKLONG=t +if test "$(git config --bool --get am.signoff)" = true +then + signoff="=" +fi OPTIONS_SPEC="\ git am [options] [(<mbox>|<Maildir>)...] git am [options] (--continue | --skip | --abort) @@ -13,7 +17,7 @@ i,interactive run interactively b,binary* (historical option -- no-op) 3,3way allow fall back on 3way merging if needed q,quiet be quiet -s,signoff add a Signed-off-by line to the commit message +s,signoff$signoff add a Signed-off-by line to the commit message u,utf8 recode into utf8 (default) k,keep pass -k flag to git-mailinfo keep-non-patch pass -b flag to git-mailinfo |