Re: What's in git.git
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Apr 11, 2006, 13:50 UTC
- Message-ID
- <Pine.LNX.4.64.0604110645060.3722@g5.osdl.org>
- In-Reply-To
- <7v3bgk7mhy.fsf@assigned-by-dhcp.cox.net>
On Mon, 10 Apr 2006, Junio C Hamano wrote:
> > Retire git-log.sh > Retire git-log.sh (take#2)
I think you need a (take#3).
This creates "git-log" as a link to "git", but does so at _build_ time, not install time.
Which means that when it actually gets installed, it gets installed as a copy of that link, and you get two different executables instead of one single executable that is just linked to two names:
[torvalds@g5 git]$ ls -li /home/torvalds/bin/git ~/bin/git-log 67272830 -rwxr-xr-x 1 torvalds torvalds 333613 Apr 11 06:45 /home/torvalds/bin/git 67272781 -rwxr-xr-x 1 torvalds torvalds 333613 Apr 11 06:45 /home/torvalds/bin/git-log
so it _works_, but it wastes 300kB+ for each "builtin". Which was kind of against the whole point.
I think the builtins should be a install-time only issue.
Linus