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

Bill Lorensen bill.lorensen at gmail.com
Sun Aug 7 23:51:53 EDT 2011


I believe that msys git runs cmd.exe and you must explicitly specify the
shell after the !

Bill

On Sun, Aug 7, 2011 at 7:26 PM, Matthew McCormick (thewtex) <
matt at mmmccormick.com> wrote:

> I don't see where the problem could be, especially since it is using bash.
>
> I will setup a VM with mingw to try to reproduce the problem sometime this
> week.
>
> Thanks,
> Matt
>
> On Sun, Aug 7, 2011 at 7:02 PM, Bill Lorensen <bill.lorensen at gmail.com>
> wrote:
> > $ git config -l | grep gerrit
> > hooks.gerritid=true
> > alias.gerrit-push=!Utilities/Git/git-gerrit-push
> > alias.gerrit-merge=!Utilities/Git/git-gerrit-merge
> > remote.gerrit.url=lorensen at review.source.kitware.com:ITK
> > remote.gerrit.fetch=+refs/heads/*:refs/remotes/gerrit/*
> >
> >
> > On Sun, Aug 7, 2011 at 5:07 PM, Matthew McCormick (thewtex)
> > <matt at mmmccormick.com> wrote:
> >>
> >> Hi Bill,
> >>
> >> What is the output of
> >>
> >> git config -l | grep gerrit
> >>
> >> Thanks,
> >> Matt
> >>
> >> On Sun, Aug 7, 2011 at 2:30 PM, Bill Lorensen <bill.lorensen at gmail.com>
> >> wrote:
> >> > Matt,
> >> >
> >> > After updating my setup, I get this error when I try a gerrit-push on
> my
> >> > mingw system:
> >> > $ git gerrit-push
> >> > 'Utilities' is not recognized as an internal or external command,
> >> > operable program or batch file.
> >> >
> >> > If I explicitly run:
> >> > ./Utilities/Git/git-gerrit-push
> >> >
> >> > it runs fine.
> >> >
> >> > I am running the git-bash console.
> >> >
> >> > Bill
> >> >
> >> >
> >> > _______________________________________________
> >> > Powered by www.kitware.com
> >> >
> >> > Visit other Kitware open-source projects at
> >> > http://www.kitware.com/opensource/opensource.html
> >> >
> >> > Kitware offers ITK Training Courses, for more information visit:
> >> > http://kitware.com/products/protraining.html
> >> >
> >> > Please keep messages on-topic and check the ITK FAQ at:
> >> > http://www.itk.org/Wiki/ITK_FAQ
> >> >
> >> > Follow this link to subscribe/unsubscribe:
> >> > http://www.itk.org/mailman/listinfo/insight-developers
> >> >
> >> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110807/026cf4dc/attachment.htm>


More information about the Insight-developers mailing list