add tests for rebasing root
[gitweb.git] / contrib / completion / git-completion.bash
index a98c2fd2de4dbd7ed659daee9303389be91bf8ac..1c35eef56a6bd5295f994c2edd12b40db8dfde06 100644 (file)
@@ -1831,7 +1831,7 @@ _git_config ()
                local remote="${prev#remote.}"
                remote="${remote%.fetch}"
                if [ -z "$cur" ]; then
-                       __gitcompadd "refs/heads/" "" "" ""
+                       __gitcomp_nl "refs/heads/" "" "" ""
                        return
                fi
                __gitcomp_nl "$(__git_refs_remotes "$remote")"