Thread (1 message) 1 message, 1 author, 2016-06-15

Re: git-push and $GIT_DIR/branches

From: Martin Koegler <hidden>
Date: 2016-06-15 22:45:37

On Fri, Nov 07, 2008 at 08:08:57AM -0800, Junio C Hamano wrote:
mkoegler@auto.tuwien.ac.at (Martin Koegler) writes:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help