Re: Return code in cmd (git describe)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Tue, 31 Jul 2012 14:02:50 +0200
"Manuela Hutter" <manuelah@xxxxxxxxx> wrote:

> we have some python scripts that are run from Visual Studio, and one
> of them fails because of a wrong git return code when calling
> 'git describe --dirty'
[...]
> Run from wingw, the return code is 0.
> Run from cmd, the return code is 1.
> 
> Why?
Supposedly, when you run Git from cmd.exe, the git.cmd top-level script
(which wraps the git.exe binary) gets executed, and it's currently
affected by this bug [1] (fixed).  When you run Git from Git bash, the
git.exe binary runs directly and hence the bug is not exposed.

1. https://github.com/msysgit/msysgit/issues/43
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Newbies FAQ]     [Linux Kernel Development]     [Free Online Dating]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Free Online Dating]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]     [Linux Resources]

Add to Google