Re: Get rid of .git/branches/ and .git/remotes/?
From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:42:13
Hi, On Mon, 21 Nov 2005, Josef Weidendorfer wrote:
On Sunday 20 November 2005 19:09, Linus Torvalds wrote:quoted
[branches.origin] url = master.kernel.org:/pub/scm/git/git.git pull = master:originTwo things: * base names are case insensitive. Repository shortcuts are case sensitive (and head names, too) * to get rid of .git/branches/XXX, XXX has to be allowed as base name. But XXX can contain anything a head name can (including ".").
Is it that important that nicks can be case sensitive or contain spaces or dots? I.e. is it sensible to make a difference between git pull Weidendorfer and git pull weidendorfer ??? Also, I'd rather write git pull josef than git pull "Josef Weidendorfer, III"
Not really a problem. Use the ' for ' syntax: [remotes] url = master.kernel.org:/pub/scm/git/git.git for origin pull = master:origin for origin Not really nice. We can not have "for" as head name.
Not really nice. Looks ugly. Violates DRY. ("for blabla" would not need to
be a problem; just enforce quotes around the name.)
Ciao,
Dscho