Do not mark tags fetched via --tags flag as mergeable
Otherwise "git pull --tags" would mistakenly try to merge all of them, which is never what the user wants. Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
@ -192,7 +192,7 @@ then
|
|||||||
sed -e '
|
sed -e '
|
||||||
/\^/d
|
/\^/d
|
||||||
s/^[^ ]* //
|
s/^[^ ]* //
|
||||||
s/.*/&:&/')
|
s/.*/.&:&/')
|
||||||
if test "$#" -gt 1
|
if test "$#" -gt 1
|
||||||
then
|
then
|
||||||
# remote URL plus explicit refspecs; we need to merge them.
|
# remote URL plus explicit refspecs; we need to merge them.
|
||||||
|
Reference in New Issue
Block a user