summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2012-03-06 02:36:12 +0000
committerClint Adams <clint@users.sourceforge.net>2012-03-06 02:36:12 +0000
commit45090b19df0f7b8fa2efd9a9aac3e9a6c31a4c6b (patch)
tree6daafd32df70272d6a10c0a8dd859fcb3f7cebb7 /Completion/Unix
parent942e1638079069cef12b20e8af310ea743ecbbf7 (diff)
downloadzsh-45090b19df0f7b8fa2efd9a9aac3e9a6c31a4c6b.tar.gz
zsh-45090b19df0f7b8fa2efd9a9aac3e9a6c31a4c6b.tar.xz
zsh-45090b19df0f7b8fa2efd9a9aac3e9a6c31a4c6b.zip
30317: complete git merge --ff-only
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Command/_git1
1 files changed, 1 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 5ed921850..78a13761a 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -5753,6 +5753,7 @@ __git_setup_merge_options () {
     '(--stat -n --no-stat)'{-n,--no-stat}'[do not show diffstat at the end of the merge]'
     '(         --no-squash)--squash[merge, but do not commit]'
     '(--squash            )--no-squash[merge and commit]'
+    '--ff-only[refuse to merge unless HEAD is up to date or merge can be reolved as a fast-forward]'
     '*'{-s,--strategy=}'[use given merge strategy]:merge strategy:__git_merge_strategies'
     '*'{-X,--strategy-option=}'[pass merge-strategy-specific option to merge strategy]'
     '(-q --quiet -v --verbose)'{-q,--quiet}'[suppress all output]'