[Insight-developers] git gerrit-push fails on mingw

Bill Lorensen bill.lorensen at gmail.com
Mon Aug 8 10:43:05 EDT 2011


$ mkdir -p test/foo

Bill at BILLSLAPTOP ~/tmp
$ echo '#!/usr/bin/env bash' > test/foo/test.sh

Bill at BILLSLAPTOP ~/tmp
$ echo 'echo hello' >> test/foo/test.sh

Bill at BILLSLAPTOP ~/tmp
$ chmod 755 test/foo/test.sh

Bill at BILLSLAPTOP ~/tmp
$ cd test

Bill at BILLSLAPTOP ~/tmp/test
$ git init
Initialized empty Git repository in c:/lorensen/tmp/test/.git/

Bill at BILLSLAPTOP ~/tmp/test (master)
$ git config alias.foo '!foo/test.sh'

Bill at BILLSLAPTOP ~/tmp/test (master)
$ git foo
'foo' is not recognized as an internal or external command,
operable program or batch file.

Bill at BILLSLAPTOP ~/tmp/test (master)
$

On Mon, Aug 8, 2011 at 10:40 AM, Brad King <brad.king at kitware.com> wrote:

> On 8/8/2011 10:35 AM, Bill Lorensen wrote:
>
>> I usually don't push and merge from these platforms.
>>
>
> Okay.  Please run this test in an empty directory.
> You can just cut-and-paste the whole block of commands
> into the shell.
>
> ------------------------------**---------------------
> mkdir -p test/foo
> echo '#!/usr/bin/env bash' > test/foo/test.sh
> echo 'echo hello' >> test/foo/test.sh
> chmod 755 test/foo/test.sh
> cd test
> git init
> git config alias.foo '!foo/test.sh'
> git foo
> ------------------------------**---------------------
>
> What is the output?
>
> Thanks,
> -Brad
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110808/a726a754/attachment.htm>


More information about the Insight-developers mailing list