Code

Do not mark tags fetched via --tags flag as mergeable
[git.git] / git-fetch.sh
index 767ca61ca6362b086e70b05f3442fcb4ad475c6a..125bcea1b6e9eef4e7f59f5f1ce511ad8fc3d43e 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.