Merge branch 'jn/gitweb-patch'
[gitweb.git] / contrib / completion / git-completion.bash
index 7cf855746832b7400f9923297c4a0170cfacce36..d3fec329976c698d55f4873efb2826ed4471919a 100755 (executable)
@@ -1069,7 +1069,8 @@ _git_grep ()
                return
                ;;
        esac
-       COMPREPLY=()
+
+       __gitcomp "$(__git_refs)"
 }
 
 _git_help ()