Skip to content

Conversation

@wking
Copy link
Contributor

@wking wking commented Mar 21, 2017

Before this commit:

$ ./git-validation -run DCO -range HEAD^^..foo
2017/03/21 13:00:30 exit status 128

With this commit:

$ ./git-validation -run DCO -range HEAD^^..foo
ERRO[0000] [git] cmd: "git --no-pager log --no-merges --pretty=format:%H HEAD^^..foo"
2017/03/21 13:16:43 exit status 128

You can get similar output with -D, but folks are unlikely to set that in production. With the new error logs, Travis output and similar is more likely to contain some useful information.

Before this commit:

  $ ./git-validation -run DCO -range HEAD^^..foo
  2017/03/21 13:00:30 exit status 128

With this commit:

  $ ./git-validation -run DCO -range HEAD^^..foo
  ERRO[0000] [git] cmd: "git --no-pager log --no-merges --pretty=format:%H HEAD^^..foo"
  2017/03/21 13:16:43 exit status 128

You can get similar output with -D, but folks are unlikely to set that
in production.  With the new error logs, Travis output and similar is
more likely to contain some useful information.

Signed-off-by: W. Trevor King <wking@tremily.us>
@vbatts
Copy link
Owner

vbatts commented Mar 21, 2017

yeah fair.

@vbatts vbatts merged commit fe12ea4 into vbatts:master Mar 21, 2017
@wking wking deleted the log-failed-git-commands branch March 21, 2017 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants