git-tfs/git-tfs — pull request #122 by johnedmonds (2011-12-19 04:28:46+00:00)
Title: Only close stdout if it has been redirected.

This is a follow up of #121

git-tfs will crash if it attempts to close stdout from a process from
which stdout has not been redirected. This adds a guard against closing
process's stdout that has not been redirected.