Re: VCS comparison table

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linus Torvalds
Date: Saturday, October 21, 2006 - 10:38 am

On Sat, 21 Oct 2006, Linus Torvalds wrote:

Actually, I think Jakub's approach is better: you'd be better off doing 
this as

	alias git-1="git --git-dir=.git-1"
	alias git-2="git --git-dir=.git-2"

and now you should be able to just do

	git-1 diff

(or any other git command) and

	git-2 diff

and can happily share the same directory and mix git commands without 
changing an environment variable all the time.

That would still be insane, but it wouldn't likely be _quite_ as confusing 
(or error-prone in case you forgot to switch the variable).

			Linus

PS. I'd still _not_ suggest doing this. It should _work_, but I mean - 
really..
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: VCS comparison table, Jakub Narebski, (Sat Oct 21, 6:05 am)
Re: VCS comparison table, Jan Hudec, (Sat Oct 21, 6:15 am)
Re: VCS comparison table, Jakub Narebski, (Sat Oct 21, 6:29 am)
Re: VCS comparison table, Aaron Bentley, (Sat Oct 21, 9:56 am)
Re: VCS comparison table, Jakub Narebski, (Sat Oct 21, 10:03 am)
Re: VCS comparison table, Linus Torvalds, (Sat Oct 21, 10:31 am)
Re: VCS comparison table, Linus Torvalds, (Sat Oct 21, 10:38 am)
Re: VCS comparison table, Tim Webster, (Sun Oct 22, 12:49 am)
Re: VCS comparison table, Linus Torvalds, (Sun Oct 22, 10:12 am)
Re: VCS comparison table, Matthew Hannigan, (Sun Oct 22, 10:19 pm)