Re: Tool renames? was Re: First stab at glossary
- From
Junio C Hamano <junkio@cox.net>
- Date
- Sep 6, 2005, 08:38 UTC
- Message-ID
- <7vwtlusi9t.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.58.0509060057491.4316@evo.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
Show 5 quoted lines
> What's the upside? > > I can point to one downside: "git". That script right now is simple. If > you rewrite git-cvsimport-script from shell to perl, it looks the same to > git.
What I've been working on was to:
* have git-cvsimport.perl in the source
* install it as $(bindir)/git-cvsimport
* simplify 'git' (whose source is of course in 'git.sh') to only do:
cmd="$1"; shift; exec "git-$cmd" ${1+"$@"}Naturally, the rewrite of git-cvsimport in shell or C would look the same to git.
One potential downside (for people who consider this a downside) is that you cannot easily run uninstalled, but you already cannot run tools/git-applymbox and git-cherry-pick uninstalled anyway, and I do not think it is such a big deal.