git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Theodore Tso <tytso@mit.edu>
Cc: David Tweed <david.tweed@gmail.com>,
	Reece Dunn <msclrhd@googlemail.com>,
	git@vger.kernel.org
Subject: Re: [PATCH] Make "git reset" a builtin. (incomplete)
Date: Thu, 23 Aug 2007 12:35:50 +0100 (BST)	[thread overview]
Message-ID: <Pine.LNX.4.64.0708231226110.20400@racer.site> (raw)
In-Reply-To: <20070823112413.GJ7267@thunk.org>

Hi,

On Thu, 23 Aug 2007, Theodore Tso wrote:

> On Thu, Aug 23, 2007 at 11:31:56AM +0100, Johannes Schindelin wrote:
>
> > 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.
> 
> Sure, but not all porcelein commands need the full power of C.  Take 
> "git-gc" for example.  It was a *very* short shell script before it was 
> rewritten to use C.

That is right.  It was short.

> > 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 are you claiming that MingGW/MSys is so good that it has a perl/bash 
> that is fully Linux compatible, so that we don't need to convert our 
> various internal commands that are implemented in shell to C?  I didn't 
> think that was a commonly held assessment...

I did not even come close to saying that.

MinGW/MSys has the advantage over Cygwin that you can have multiple 
installations.  With different settings, in different places.

However, since we are on Windows we have plenty of problems.  Think 
fork().  Think "C:/srv" _not_ meaning a protocol.  Think non-Git programs 
that have a non-POSIX idea of path names, or of passing a command line 
(including quoting).

One problem we face ATM is that MSys apparently cannot be taught _not_ to 
mangle something as "repo.or.cz:/srv/git/something.git" into 
"repo.or.cz;C:\msysGit\srv/git/something.git".  If we had no scripts, this 
would be a non-issue.  Since no MSys would be involved.

Anyway, I'd much rather use my time hacking than reading monster threads 
with more LOC than I will ever write in my life.  And no, that "C" does 
not mean "code".

Ciao,
Dscho

  reply	other threads:[~2007-08-23 11:36 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
2007-08-23 10:55                   ` David Tweed
2007-08-23 11:24                     ` Theodore Tso
2007-08-23 11:35                       ` Johannes Schindelin [this message]
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.0708231226110.20400@racer.site \
    --to=johannes.schindelin@gmx.de \
    --cc=david.tweed@gmail.com \
    --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).