git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Reece Dunn <msclrhd@googlemail.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] Make "git reset" a builtin. (incomplete)
Date: Thu, 23 Aug 2007 10:10:20 +0100 (BST)	[thread overview]
Message-ID: <Pine.LNX.4.64.0708231006220.20400@racer.site> (raw)
In-Reply-To: <3f4fd2640708221434i4f5650e0u9adb523742666f40@mail.gmail.com>

Hi,

On Wed, 22 Aug 2007, Reece Dunn wrote:

> On 22/08/07, David Kastrup <dak@gnu.org> wrote:
> > Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> >
> > > On Wed, 22 Aug 2007, Nicolas Pitre wrote:
> > >
> > >> On Wed, 22 Aug 2007, David Kastrup wrote:
> > >> > If the scripting engine of choice for cobbling together
> > >> > prototypes remains the Unix toolchain outside of git proper, then
> > >> > Windows users will _always_ remain second class citizens since
> > >> > they will get to work with and on new porcelain much later than
> > >> > the rest of the world: namely when somebody bothers porting his
> > >> > new favorite tool for them to C.
> > >>
> > >> Right.
> > >
> > > And not making the scripts builtins helps Windows users how,
> > > exactly?
> >
> > 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.

> > Two suggestions of mine with different advantages were git-busybox and 
> > Lua.  A third one was once proposed by Linus with some code example: 
> > starting a scripting language from scratch.
> 
> Do you have a link to the proposal?

Go search in the mailing list archives.  It's not hard to find.

> > So obviously, the need for something like that is recognized, and not 
> > having to start from zero for that might be an advantage if a good, 
> > workable language can be found.
> 
> It would also aid the Windows porting effort by having a single, builtin 
> scripting engine that does not have differing behaviours on different 
> platforms.

What is your problem?  msysGit is coming along pretty fine _without_ that 
maintenance nightmare of an own scripting language.  We use bash and perl, 
thank you very much.

> One thing that will need sorting is the binding of the C 
> plumbing/builtin command API to the scripting language, but this 
> shouldn't be that difficult to do.

It is that easy that you could do it in an hour or so, right?  Or not.  We 
need a whole GSoC project to do that, since sorting out a decent API is 
_not_ easy.

Ciao,
Dscho

  reply	other threads:[~2007-08-23  9:10 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 [this message]
2007-08-23 10:20                 ` Theodore Tso
2007-08-23 10:31                   ` Johannes Schindelin
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.0708231006220.20400@racer.site \
    --to=johannes.schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=msclrhd@googlemail.com \
    /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).