]> xenbits.xensource.com Git - people/larsk/xenproject-org-gitdm.git/commit
gitdm: Report progress to stderr not stdout
authorKir Kolyshkin <kir@openvz.org>
Mon, 7 Apr 2008 19:59:18 +0000 (23:59 +0400)
committerJonathan Corbet <corbet@lwn.net>
Fri, 27 Jun 2008 15:02:28 +0000 (09:02 -0600)
commit3d9830c3ce1bcd6ea9d8efa492b24ba8523873dd
tree34ab3f5c2132f2101f2eb57b0c38004894a94ae8
parente1a6d06d6553c3b2026304f5379c3737f1743e46
gitdm: Report progress to stderr not stdout

When gitdm is used for generating text-only report with its output
redirected to a file, all is well aside from the clutter at the beginning
of that file -- a very long line with repeating "Grabbing changesets...".

Solve that by redirecting progress reporting to stderr. It also helps to
see the progress when you redirect gitdm output to a file.

Also, we don't have to flush stdout since stderr is unbuffered by default.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
gitdm