]> git.ipfire.org Git - thirdparty/git.git/blobdiff - contrib/completion/git-completion.bash
completion: more subcommands in _git_notes()
[thirdparty/git.git] / contrib / completion / git-completion.bash
index dc3ec43b652537c7dd61680b49a52df5be228349..2e30950299fd74a8f11b0cea86d6d8ffb6ca3226 100644 (file)
@@ -1815,7 +1815,7 @@ _git_name_rev ()
 
 _git_notes ()
 {
-       local subcommands='add append copy edit list prune remove show'
+       local subcommands='add append copy edit get-ref list merge prune remove show'
        local subcommand="$(__git_find_on_cmdline "$subcommands")"
 
        case "$subcommand,$cur" in
@@ -1838,7 +1838,7 @@ _git_notes ()
        *,--*)
                __gitcomp_builtin notes_$subcommand
                ;;
-       prune,*)
+       prune,*|get-ref,*)
                # this command does not take a ref, do not complete it
                ;;
        *)