From: Linus Torvalds <torvalds@linux-foundation.org>
To: Theodore Tso <tytso@mit.edu>
Cc: Johannes Schindelin <Johannes.Schindelin@gmx.de>,
James Bowes <jbowes@dangerouslyinc.com>,
git@vger.kernel.org
Subject: Re: [PATCH 0/2] Make gc a builtin.
Date: Mon, 12 Mar 2007 12:14:04 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.64.0703121202560.9690@woody.linux-foundation.org> (raw)
In-Reply-To: <20070312133612.GD4372@thunk.org>
On Mon, 12 Mar 2007, Theodore Tso wrote:
>
> I'm not sure I understand the portability argument? All of the
> platforms that git currently supports will handle shell scripts,
> right?
Git "supports" MinGW, or at least wants to. And yes, you can put bash in
there, but we'd be *so* much better off if we had no shell scripting at
all.
Another thing I find annoying (even as a UNIX user) is that whenever I do
any tracing for performance data, shell is absolutely horrid. It's *so*
much nicer to do 'strace' on built-in programs that it's not even funny.
It's also sad how many performance issues we've had with shell, just
because even something really simple (like a few hundred refs) is just too
slow for shell scripting.
> Heck, git-commit is still a shell script, and that's a rather, ah,
> fundamental command, isn't it?
Yeah, and that's probably my pet peeve. I'd love to see a built-in "git
commit" and "git fetch". The "fetch--tool" thing in next gets rid of some
of the latter (and apparently the worst performance problems), but it's
sad how we have a really nice builtin "push", but our "fetch" is still
mostly really hairy shell-code (not just "git-fetch.sh" itself, but
"git-parse-remote.sh".
A gold star for whoever gets rid of any of of commit/clone/fetch or
ls-remote
(ls-remote isn't that big or hairy, but I mention it because it's a user
of "parse-remote", so making even just ls-remote built-in is probably
going to help with fetch/clone eventually).
Linus
next prev parent reply other threads:[~2007-03-12 19:14 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-11 22:06 [PATCH 0/2] Make gc a builtin James Bowes
2007-03-11 22:06 ` [PATCH 1/2] run-command: Make run_command_va_opt public and add run_command_va James Bowes
2007-03-11 22:06 ` [PATCH 2/2] Make gc a builtin James Bowes
2007-03-11 22:48 ` Johannes Schindelin
2007-03-12 2:11 ` Junio C Hamano
2007-03-12 2:51 ` [PATCH] " James Bowes
2007-03-12 14:43 ` Shawn O. Pearce
2007-03-12 3:07 ` [PATCH 2/2] " Johannes Schindelin
2007-03-12 2:57 ` [PATCH 0/2] " Theodore Tso
2007-03-12 11:23 ` Johannes Schindelin
2007-03-12 13:36 ` Theodore Tso
2007-03-12 19:14 ` Linus Torvalds [this message]
2007-03-13 0:48 ` Jakub Narebski
2007-03-13 1:20 ` Linus Torvalds
2007-03-12 14:29 ` Shawn O. Pearce
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.64.0703121202560.9690@woody.linux-foundation.org \
--to=torvalds@linux-foundation.org \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=jbowes@dangerouslyinc.com \
--cc=tytso@mit.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).