On Apr 21, 2008, at 6:01 PM, Stephan Hennig wrote:


Receipe
1. Open Windows command-line cmd.exe.
2. git status

Symptoms
The command-line is immediately closed.

Expected behaviour
Command-line is not closed after git commands.

Proposed change
In git.cmd replacing the line

 exit %ErrorLevel%

by

 exit /b %ErrorLevel%

seems to solve the problem.

The solution you propose is already on branch devel (b8250c09c)
and will be included in the next release.

        Steffen

Reply via email to