git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Nguyen Thai Ngoc Duy" <pclouds@gmail.com>
To: "Johannes Schindelin" <Johannes.Schindelin@gmx.de>
Cc: git@vger.kernel.org
Subject: Re: Windows support
Date: Thu, 26 Jul 2007 11:07:22 -0400	[thread overview]
Message-ID: <fcaeb9bf0707260807u476719e3rec2dcf5f780013c0@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0707261534550.14781@racer.site>

On 7/26/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> Hi,
>
> On Thu, 26 Jul 2007, Nguyen Thai Ngoc Duy wrote:
>
> > On 7/26/07, Christian MICHON <christian.michon@gmail.com> wrote:
> > > On 7/26/07, Nguyen Thai Ngoc Duy <pclouds@gmail.com> wrote:
> > > > microperl [1] maybe? I haven't tried it yet.
> > > >
> > >
> > > it won't work. I tried that few months back.
> > >
> > > plus the fact you'll still need perl modules.
> > >
> > > I just had a look at your gitbox gitweb. Did you really manage
> > > to get busybox-1.6.1 to work with mingw ?
> >
> > Most of tools (that are included) work fine. Ash almost works. It can
> > run git status, git commit, git clone.. and most of test cases. There
> > are still some missing pieces and bugs to hunt down though.
>
> Thank you for working on this!
>
> However, I am not completely convinced that having a builtin shell is all
> that useful.  I for one would like to have MinGW busybox _separate_ from
> git...

I make MinGW busybox part of git for some reasons:

 - Making a full MinGW busybox would take lots of time. I don't need
busybox for Windows. What I need is a shell and enough POSIX utilities
to run git shell scripts without any dependencies. Windows users
(including myself when I have to use Windows) hate dependencies.
 - I don't want MinGW busybox to be used outside of git (if it is
installed separated from git), there are cygwin and msys already. I
don't want to compete them. And I don't like conflicts (not sure
though) because you have multiple UNIX emulations on the same system.
 - Making ash part of git has an advantage that you could tune the
shell to fit git. Earlier you had to replace find/sort with
/usr/bin/find and /usr/bin/sort in git scripts to avoid Windows
alternatives. I don't like that. If you have control over the shell,
you could make it ignore whatever program out there and use your own
ones. This one is not a strong point though.
 - MinGW busybox (or gitbox as I call it now) utilizes compat/mingw.c
and other stuff like run-command.c... Making it separate (as source
code) duplicates code for nothing.
 - If you meant separating from git.exe binary, not from source code,
then it's ok.

>
> Yes, you could not use the nice "ln -s busybox ash" idiom, since Windows
> lacks symlinks, but you could still say "busybox ash" with a relatively
> small, single executable.
>
> Ciao,
> Dscho
>
>


-- 
Duy

  reply	other threads:[~2007-07-26 15:07 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-25 10:35 Windows support Dmitry Kakurin
2007-07-25 10:40 ` Johannes Schindelin
2007-08-02  6:57   ` Asger Ottar Alstrup
2007-08-02 10:45     ` Johannes Schindelin
2007-07-25 11:12 ` Steven Grimm
2007-07-26  2:56   ` Dmitry Kakurin
2007-07-26  3:15     ` Shawn O. Pearce
2007-07-26  6:25       ` Steffen Prohaska
2007-07-26  6:53         ` Shawn O. Pearce
2007-07-26  9:41           ` Marius Storm-Olsen
2007-07-26  9:44             ` Marius Storm-Olsen
2007-07-26  5:11     ` Steven Grimm
2007-07-25 11:13 ` Steven Grimm
2007-07-25 12:13 ` Nguyen Thai Ngoc Duy
2007-07-25 14:10   ` Johannes Schindelin
2007-07-25 14:15     ` Nguyen Thai Ngoc Duy
2007-07-25 17:13       ` Johannes Schindelin
2007-07-26 13:00       ` Christian MICHON
2007-07-26 13:20         ` Nguyen Thai Ngoc Duy
2007-07-26 13:32           ` Christian MICHON
2007-07-26 13:55             ` Nguyen Thai Ngoc Duy
2007-07-26 15:25               ` Johannes Sixt
2007-07-26  2:26   ` Dmitry Kakurin
2007-07-26  3:06     ` Junio C Hamano
2007-07-26  3:18       ` Shawn O. Pearce
2007-07-26  4:30         ` Junio C Hamano
2007-07-26  5:28           ` Johannes Schindelin
2007-07-26  5:56             ` Han-Wen Nienhuys
2007-07-26  6:40               ` Johannes Schindelin
2007-07-26  7:02                 ` Han-Wen Nienhuys
2007-07-26  7:13                   ` Shawn O. Pearce
2007-07-26  7:18                     ` Han-Wen Nienhuys
2007-07-26 21:39                       ` Jakub Narebski
2007-07-26  7:52                     ` Julian Phillips
2007-07-26 11:29                   ` Nguyen Thai Ngoc Duy
2007-07-26 12:21                     ` Christian MICHON
2007-07-26 12:37                       ` Nguyen Thai Ngoc Duy
2007-07-26 14:37                         ` Johannes Schindelin
2007-07-26 15:07                           ` Nguyen Thai Ngoc Duy [this message]
2007-07-26 15:43                             ` Johannes Schindelin
2007-07-26 16:11                               ` Nguyen Thai Ngoc Duy
2007-07-26 18:13                                 ` David Kastrup
2007-07-26 19:39                                   ` Nguyen Thai Ngoc Duy
2007-07-26 20:04                                     ` David Kastrup
2007-07-26 18:18                                 ` Johannes Schindelin
2007-07-26 16:58                             ` Marius Storm-Olsen
2007-07-26 19:43                               ` Nguyen Thai Ngoc Duy
2007-07-26 20:02                                 ` Christian MICHON
2007-07-26  9:11             ` Robin Rosenberg
2007-07-26 10:35               ` Johannes Sixt
2007-07-26  3:38     ` Johannes Schindelin
2007-07-26  3:54       ` Dmitry Kakurin
2007-07-26  4:00       ` Shawn O. Pearce
2007-07-26  5:30         ` Johannes Schindelin
2007-07-26  6:08           ` Henning Rogge
2007-07-26  8:14             ` Andy Parkins
2007-07-25 12:30 ` Steffen Prohaska
2007-07-25 15:34   ` Noel Grandin
2007-07-26  6:46     ` Johannes Schindelin
2007-07-26  6:48       ` Junio C Hamano
2007-07-25 16:58   ` Stephen Cuppett
2007-07-25 17:56     ` Russ Dill
2007-07-25 19:04       ` Medve Emilian-EMMEDVE1
2007-07-25 19:13         ` Russ Dill
2007-07-25 18:43     ` Linus Torvalds
2007-07-25 22:52       ` Wincent Colaiuta
2007-07-26  9:30       ` Marius Storm-Olsen
2007-07-26  3:36     ` Shawn O. Pearce
2007-07-25 17:41 ` Daniel Barkalow

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=fcaeb9bf0707260807u476719e3rec2dcf5f780013c0@mail.gmail.com \
    --to=pclouds@gmail.com \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    /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).