From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Theodore Tso <tytso@mit.edu>
Cc: Reece Dunn <msclrhd@googlemail.com>, git@vger.kernel.org
Subject: Re: [PATCH] Make "git reset" a builtin. (incomplete)
Date: Thu, 23 Aug 2007 11:31:56 +0100 (BST) [thread overview]
Message-ID: <Pine.LNX.4.64.0708231122450.20400@racer.site> (raw)
In-Reply-To: <20070823102036.GG7267@thunk.org>
Hi,
On Thu, 23 Aug 2007, Theodore Tso wrote:
> On Thu, Aug 23, 2007 at 10:10:20AM +0100, Johannes Schindelin wrote:
> > > > Red herring. The proposal was not to do nothing, but rather give git
> > > > a dedicated scripting language internal to it.
> > >
> > > That is a really neat idea.
> >
> > Why? Why should just _having_ a dedicated scripting language _per se_ be
> > a neat idea? We do not _need_ it! We script git in bash, perl, other
> > people in Python, Ruby, and even Haskell. So why should we _take away_
> > that freedom from others to script Git in whatever language they like
> > most? There is no good reason.
>
> Users should be able to script in whatever language they want; that's
> clear. However, what some people were talking about was an internal
> scripting language that would be used for writing git commands, as an
> alternative to an alternative future where everything gets moved to C.
And that is _exactly_ where I fail to see benefits from. You only get the
full power of C by using C. You only get the full power of all open
source C programmers by using C. And you only get the full flexibility,
speed, name-your-own-pet-peeve using C.
Mind you, I use scripts a lot. I even have some projects where I
git-added a script to add aliases which are so large as to fit half a
terminal.
But we should not _force_ people to have bash or perl when they do not
plan to use it themselves.
> (To accomodate those Windows users who for some silly reason refuse to
> install Cygwin, bash, and perl on their Windows development box. :-)
I have seen boxes where the administrators locked down everything. And
Cygwin _does_ need to write the registry, and there is _no_ easy way to
have two independent Cygwin installs on the same machine. This is where
MinGW/MSys really shines.
> So for those people who think an internal scripting language would be a
> worthwhile way of implementing certain git commands, instead of
> converting them all to C, my suggestion would be to "show us the code".
> Actually create the git to LUA bindings, and then show how easily it
> would be to rewrite a bunch of the existing git commands which are
> currently implemented in shell in LUA instead.
And force everybody who wants to contribute to _those_ parts of Git to
learn LUA? It is not about languages. It is about people. Choosing an
obscure language automatically limits your most valuable resource: people.
We saw that already with filter-branch (which saw some duplicate efforts,
because one developer was not comfortable with shell; we had two different
programs with different suboptimal behaviours).
> But if people are just gushing over the glories of elisp and saying
> things like *someone* should create a scripting language for git, it's
> just going to be a waste of everyone's time.
Amen,
Dscho
next prev parent reply other threads:[~2007-08-23 10:32 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-22 12:48 [PATCH] Make "git reset" a builtin. (incomplete) Carlos Rica
2007-08-22 13:00 ` David Kastrup
2007-08-22 13:37 ` Andreas Ericsson
2007-08-22 14:29 ` David Kastrup
2007-08-22 14:49 ` Mike Hommey
2007-08-22 15:02 ` Chris Shoemaker
2007-08-22 15:41 ` David Kastrup
2007-08-22 16:07 ` Nicolas Pitre
2007-08-22 16:51 ` Johannes Schindelin
2007-08-22 17:17 ` David Kastrup
2007-08-22 19:05 ` Linus Torvalds
2007-08-22 19:36 ` David Kastrup
2007-08-22 19:58 ` Linus Torvalds
2007-08-22 22:25 ` David Kastrup
2007-08-22 23:10 ` Linus Torvalds
2007-08-22 23:39 ` David Kastrup
2007-08-23 1:30 ` Linus Torvalds
2007-08-23 0:24 ` Wincent Colaiuta
2007-08-23 1:15 ` Nicolas Pitre
2007-08-23 1:40 ` Jon Smirl
2007-08-23 3:23 ` Linus Torvalds
2007-08-23 4:21 ` Junio C Hamano
2007-08-23 9:15 ` Johannes Schindelin
2007-08-22 21:34 ` Reece Dunn
2007-08-23 9:10 ` Johannes Schindelin
2007-08-23 10:20 ` Theodore Tso
2007-08-23 10:31 ` Johannes Schindelin [this message]
2007-08-23 10:55 ` David Tweed
2007-08-23 11:24 ` Theodore Tso
2007-08-23 11:35 ` Johannes Schindelin
2007-08-23 16:30 ` Jon Smirl
2007-08-23 11:25 ` Reece Dunn
2007-08-23 20:26 ` Alex Riesen
2007-08-23 21:14 ` David Kastrup
2007-08-23 21:33 ` Alex Riesen
2007-08-23 22:05 ` David Kastrup
2007-08-22 17:21 ` Nicolas Pitre
2007-08-23 9:55 ` Johannes Schindelin
2007-08-23 15:19 ` Nicolas Pitre
2007-08-22 21:19 ` Reece Dunn
2007-08-23 9:05 ` Johannes Schindelin
2007-08-23 18:40 ` Robin Rosenberg
2007-08-23 2:05 ` Nguyen Thai Ngoc Duy
2007-08-22 13:42 ` Matthieu Moy
2007-08-22 22:28 ` David Kastrup
2007-08-22 14:27 ` Andy Parkins
2007-08-22 14:57 ` Johannes Sixt
2007-08-22 16:20 ` Alex Riesen
2007-08-23 11:14 ` Johannes Schindelin
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.0708231122450.20400@racer.site \
--to=johannes.schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=msclrhd@googlemail.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).