aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2014-05-15 16:44:30 +0300
committerMichael S. Tsirkin <mst@redhat.com>2014-05-18 23:39:35 +0300
commit1a51ab16661185688c09175ef5ef883c3e61e616 (patch)
treef2ea53cd0c222aa523cf0ee4db48307b762393b9
parenta7ffb3f00e7f84fe769541ac50e5983891b8a13d (diff)
downloadgit-1a51ab16661185688c09175ef5ef883c3e61e616.tar.gz
git-am: cleanup option for new flag
-rwxr-xr-xgit-am.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/git-am.sh b/git-am.sh
index 7ffcde3279..6c93564572 100755
--- a/git-am.sh
+++ b/git-am.sh
@@ -404,9 +404,7 @@ it will be removed. Please do not use it anymore."
threeway=t ;;
-s$signoff_pattern|--signoff$signoff_pattern)
sign=t
- ack=$1
- ack="${ack#-s=}"
- ack="${ack#--signoff=}"
+ ack="${1#--signoff=}"
acks=$(git config --get-all am.${ack}.signoff)
if test "acks"
then