sourcegraph/go-vcs — pull request #31 by shurcooL (2014-12-18 04:09:57+00:00)
Title: vcs/gitcmd: Use only stdout, ignore stderr for predictable command output parsing.

- This makes it so that warnings and other non-critical messages potentially printed to stderr do not mess up parsing of the expected stdout output.
- Command exit code being 0 is used to test if the command was successful (returned as `err` value from `Output`).
- Fixes #30.