completion: fix remote.pushdefault
[gitweb.git] / contrib / completion / git-completion.bash
index a57bcbe40355f0fe33bc7ea62507d59005a7e5af..4fe5ce31bd99e5c5307761c947d4661241ec3c24 100644 (file)
@@ -1884,6 +1884,7 @@ _git_config ()
        remote.*)
                local pfx="${cur%.*}." cur_="${cur#*.}"
                __gitcomp_nl "$(__git_remotes)" "$pfx" "$cur_" "."
+               __gitcomp_nl_append "pushdefault" "$pfx" "$cur_"
                return
                ;;
        url.*.*)