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.

Best regards,
Stephan Hennig

Reply via email to