Thread (1 message) 1 message, 1 author, 2016-08-11

Re: git bug? + question

From: Junio C Hamano <hidden>
Date: 2016-08-11 20:18:39

Linus Torvalds [off-list ref] writes:
On Fri, 3 Nov 2006, Junio C Hamano wrote:
quoted
	[remote."gitster"]
Btw, why the '.'? It doesn't even work with a dot, you have to have a 
space, which is also a lot more readable..
Untested example ;-).

I do not have to use any of these in real life because I work in
repositories laid out without separate remotes.
This would basically require that "git-parse-remote" be re-written as a 
native builtin, because quite frankly, it would be too damn painful any 
other way, but it really shouldn't be that nasty. In fact, I think we 
should have done that long ago, because the shell-code is just horrid for 
things like this.
I agree.

I am rediscovering git-cvsimport and git-cvsexportcommit right
now, and one thing I wished was git-cvsimport to have worked as
if it is a git-fetch of an exotic flavor.  Integrating it into
git-fetch so that "URL: cvs://repo.si.to/ry" in .git/remotes
would do a sensible thing and make git-cvsimport honor
"Pull: HEAD:remotes/cvs/master" would both need some work in
parse-remote, and doing anything more complicated than the
current parse-remote in shell is quite painful.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help