Only print the progress message if on a TTY
commitb4d6a1c5539886c10f4d3965bd62afc793d8e912
authorCatalin Marinas <catalin.marinas@gmail.com>
Tue, 5 Dec 2006 22:07:22 +0000 (5 22:07 +0000)
committerCatalin Marinas <catalin.marinas@gmail.com>
Tue, 5 Dec 2006 22:07:22 +0000 (5 22:07 +0000)
tree0a79e76cdfaad3291e1c86fe80a71f18c9a73147
parentabcc26205add550f775bb1dceb4e30377e6b3463
Only print the progress message if on a TTY

The "Checking for changes..." message should only be printed if stdout
is a TTY to avoid unnecessary information for people redirecting the
output to a file.

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
stgit/git.py