Do not mark tags fetched via --tags flag as mergeable
[git.git] / git-fetch.sh
index 767ca61..125bcea 100755 (executable)
@@ -192,7 +192,7 @@ then
                sed -e '
                        /\^/d
                        s/^[^   ]*      //
-                       s/.*/&:&/')
+                       s/.*/.&:&/')
        if test "$#" -gt 1
        then
                # remote URL plus explicit refspecs; we need to merge them.