Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/vcs: show stderr when git exits with an error
For example, rather than the unhelpful error running "git" ["-c" "log.showsignature=false" "log" "-1" "--format=%H:%ct"]: exit status 128 we would now show running "git" ["-c" "log.showsignature=false" "log" "-1" "--format=%H:%ct"]: exit status 128: fatal: your current branch 'master' does not have any commits yet which is arguably quite long, but at least it's useful to understand why git is failing. Signed-off-by: Daniel Martí <[email protected]> Change-Id: Ia7e40cb59fce41b3ec096bb95977cdeb11cea01b Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1198173 TryBot-Result: CUEcueckoo <[email protected]> Unity-Result: CUE porcuepine <[email protected]> Reviewed-by: Matthew Sackman <[email protected]>
- Loading branch information