summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-05-03 15:17:38 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-05-03 15:17:38 -0700
commit1c937682c20970c83d17957ee0460d596eb1b009 (patch)
treedb0aaf20431c3487abfe4826c65393216f39bd46
parentUpdate draft release notes to 1.8.3 (diff)
parentMerge branch 'tr/remote-tighten-commandline-parsing' into maint (diff)
downloadtgif-1c937682c20970c83d17957ee0460d596eb1b009.tar.xz
Sync with maint
* maint: completion: zsh: don't override suffix on _detault Documentation/git-commit: Typo under --edit
-rw-r--r--Documentation/git-commit.txt4
-rw-r--r--contrib/completion/git-completion.zsh2
2 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt
index 9b1be5581d..8172938653 100644
--- a/Documentation/git-commit.txt
+++ b/Documentation/git-commit.txt
@@ -197,8 +197,8 @@ variable (see linkgit:git-config[1]).
-e::
--edit::
The message taken from file with `-F`, command line with
- `-m`, and from file with `-C` are usually used as the
- commit log message unmodified. This option lets you
+ `-m`, and from commit object with `-C` are usually used as
+ the commit log message unmodified. This option lets you
further edit the message taken from these sources.
--no-edit::
diff --git a/contrib/completion/git-completion.zsh b/contrib/completion/git-completion.zsh
index 49f0cb8f69..2565d2eef4 100644
--- a/contrib/completion/git-completion.zsh
+++ b/contrib/completion/git-completion.zsh
@@ -198,7 +198,7 @@ _git ()
emulate ksh -c __${service}_main
fi
- let _ret && _default -S '' && _ret=0
+ let _ret && _default && _ret=0
return _ret
}