Re: GIT on MinGW problem
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- May 29, 2007, 15:28 UTC
- Message-ID
- <fcaeb9bf0705290828j3703cfa9g11f2f7afb17a8c91@mail.gmail.com>
- In-Reply-To
- <465C3502.BE134BC9@eudaptics.com>
On 5/29/07, Johannes Sixt <J.Sixt@eudaptics.com> wrote:
Show 18 quoted lines
> Johannes Schindelin wrote: > > There are at least three different cmd.exe that _I_ encountered: NT4.0, > > 2000 and XP. All of them have different features. None of my scripts > > worked without _heavy_ workarounding on all of them. > > > > But I think a .lnk file would be easier to create, and more portable, > > right? > > If: > > 1. there is a .lnk file named gitk.lnk with target for example: > > D:\MSYS\1.0\mingw\bin\wish84.exe D:\MSYS\1.0\git\bin\gitk > > 2. you change PATHEXT to include '.LNK'. > > then gitk can be invoked with varying arguments from CMD. I've tested > this only on W2k. Point 2 looks hackish and dangerous to me.
I'd suggest create a small C wrapper to launch gitk. It would be much easier that way IMHO.
-- Duy