cmd: Prevent chcp in git.cmd from gobbling stdin (fixes issue 474)
commit51add68064e8fe8f7a93cbfadeabb62d605b74aa
authorMichael Geddes <michael@frog.wheelycreek.net>
Thu, 3 Jun 2010 12:35:41 +0000 (3 14:35 +0200)
committerSebastian Schuberth <sschuberth@gmail.com>
Thu, 3 Jun 2010 12:47:52 +0000 (3 14:47 +0200)
treeb54c45d6e9d31dec32055c99204557f6ca43d844
parent33ae78bbc6c6743c27ff73de2468e1b43685eb3f
cmd: Prevent chcp in git.cmd from gobbling stdin (fixes issue 474)

If stdin is redirected via < in the call to git.cmd, the content was being
taken by the call to chcp. This is fixed by feeding nul into chcp.

Signed-off-by: Michael Geddes <michael@frog.wheelycreek.net>
Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
cmd/git.cmd