From: Martin Koegler Date: Fri, 07 Nov 2008 20:44:51 GMT Subject: Re: git-push and $GIT_DIR/branches Message-ID: <20081107204451.GA10394@auto.tuwien.ac.at> In-Reply-To: <7vljvvh61y.fsf@gitster.siamese.dyndns.org> On Fri, Nov 07, 2008 at 08:08:57AM -0800, Junio C Hamano wrote: > mkoegler@auto.tuwien.ac.at (Martin Koegler) writes: > > > I think, that the git-push behaviour is a bit unlogical in conjunction > > with $GIT_DIR/branches. > > That is because it is illogical to use $GIT_DIR/branches in conjunction > with git; the former is a backward compatibility wart with Cogito which is > now dead. I'm aware, that $GIT_DIR/branches origins from Cogito and are not recommended. But eg. Documentation/urls-remotes.txt does not reflect this. I asume, that you [and probably many other] are not very interrested in this feature. But would you accept a patch changing the push refspec to HEAD:refs/heads/? mfg Martin Kögler