Re: git-push and $GIT_DIR/branches
- From
- Martin Koegler <mkoegler@auto.tuwien.ac.at>
- Date
- Nov 7, 2008, 20:44 UTC
- 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:
Show 8 quoted lines
> 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/<head>?
mfg Martin Kögler