Re: Windows support
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Jul 26, 2007, 13:55 UTC
- Message-ID
- <fcaeb9bf0707260655v1dbbacfbta23e670713683963@mail.gmail.com>
- In-Reply-To
- <46d6db660707260632q16f927a2r64f6b4588dd3cb48@mail.gmail.com>
On 7/26/07, Christian MICHON <christian.michon@gmail.com> wrote:
Show 9 quoted lines
> On 7/26/07, Nguyen Thai Ngoc Duy <pclouds@gmail.com> wrote: > > On 7/26/07, Christian MICHON <christian.michon@gmail.com> wrote: > > > it seems you're not very far off. I believe you intend to replace in git-commit > > > "#!c:/msys/bin/sh" with something like "#!c:/gitbox/bin/gitbox ash", right ? > > > > No. I tweaked try_shell_exec() to use gitbox shell if the interpreter is "sh". > > > > interesting. have you tried inserting busybox vi inside git-box ?
Not yet. That would be fun but I rather focus on ash in the moment. You could set EDITOR to notepad or something else.
> I can commit using "git commit -a -m ok", but then I get this kind of > error message (and ash dies, I go back to xp/cmd prompt) > > mv: cannot rename '.git/next-index4540': File exists
Baah.. something goes wrong again.
> C:/gitbox/bin/git-commit: exit: line 658: Illegal number: -1 > > nice piece of work. it could really be tiny once fixed.
Um.. that "Illegal number" might be an ash bug. Intended to fix it but then forgot :(
> > I suggest to replace most git-* by git-box/ash shell wrappers, > calling the git.exe binary directly.
Cool. Will do.
Show 5 quoted lines
> -- > Christian > -- > http://detaolb.sourceforge.net/, a linux distribution for Qemu >
-- Duy