From: Nguyen Thai Ngoc Duy Date: Thu, 26 Jul 2007 13:55:11 GMT Subject: Re: Windows support Message-ID: In-Reply-To: <46d6db660707260632q16f927a2r64f6b4588dd3cb48@mail.gmail.com> On 7/26/07, Christian MICHON wrote: > On 7/26/07, Nguyen Thai Ngoc Duy wrote: > > On 7/26/07, Christian MICHON 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. > -- > Christian > -- > http://detaolb.sourceforge.net/, a linux distribution for Qemu > -- Duy