Dennis Kaarsemaker <den...@kaarsemaker.net> writes:

> Equality for
> wildcards is allowed and tested for, so do we really want to 'outlaw'
> equality of non-wildcard refspecs?

I am not sure what you mean by "equality for wildcards is allowed".
Do you mean this pair of remote definition is sane and not warned?

        [remote "one"]
                fetch = refs/heads/*:refs/remotes/mixed/*

        [remote "two"]
                fetch = refs/heads/*:refs/remotes/mixed/*

For non-wildcard ones, I think these pairs are both suspects for
possible clashes and want to be warned.

(1) literal-vs-literal

        [remote "one"]
                fetch = refs/heads/master:refs/heads/origin

        [remote "two"]
                fetch = refs/heads/master:refs/heads/origin

(2) literal-vs-wildcard

        [remote "one"]
                fetch = refs/heads/*:refs/remotes/origin/*

        [remote "two"]
                fetch = refs/heads/master:refs/remotes/origin/master

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to