summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Rikard Falkeborn <rikard.falkeborn@gmail.com>2017-05-27 08:25:50 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-06-02 11:25:26 +0900
commitfd1552d59d2f181019a8cf18582e89167be51e01 (patch)
tree266c58c7c97117d61bcddb872797e88d9d5fb16e
parentcompletion: add git config am.threeWay completion (diff)
downloadtgif-fd1552d59d2f181019a8cf18582e89167be51e01.tar.xz
completion: add git config advice completions
Add missing completions for git config advice: * advice.amWorkDir * advice.pushAlreadyExists * advice.pushFetchFirst * advice.pushNeedsForce * advice.pushNonFFCurrent * advice.pushNonFFMatching * advice.pushUpdateRejected * advice.rmHints * advice.statusUoption Remove completion for git config advice.pushNonFastForward, since it was renamed to pushUpdateRejected in 1184564eac8e. The config still works, but is no longer part of the documentation. Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--contrib/completion/git-completion.bash10
1 files changed, 9 insertions, 1 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 6150790387..087ea945bd 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -2335,12 +2335,20 @@ _git_config ()
esac
__gitcomp "
add.ignoreErrors
+ advice.amWorkDir
advice.commitBeforeMerge
advice.detachedHead
advice.implicitIdentity
- advice.pushNonFastForward
+ advice.pushAlreadyExists
+ advice.pushFetchFirst
+ advice.pushNeedsForce
+ advice.pushNonFFCurrent
+ advice.pushNonFFMatching
+ advice.pushUpdateRejected
advice.resolveConflict
+ advice.rmHints
advice.statusHints
+ advice.statusUoption
alias.
am.keepcr
am.threeWay