Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve git log readability #1439

Merged
merged 5 commits into from May 4, 2018

Conversation

Projects
None yet
1 participant
@smashwilson
Copy link
Member

smashwilson commented May 4, 2018

The console output created by enabling github.gitDiagnostics isn't very readable. The actual git command is obfuscated by all of the -c arguments that we add to improve parseability.

before

I've improved its legibility by generating the formattedArgs string before we manipulate the args object:

after

I've also added some post-processing on the commands' stdout and stderr, to reveal hidden characters that we use like null bytes and unicode field separator characters:

details

smashwilson added some commits May 4, 2018

@smashwilson smashwilson merged commit 8b0226d into master May 4, 2018

3 checks passed

ci/circleci Your tests passed on CircleCI!
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@smashwilson smashwilson deleted the aw/more-readable-git-logs branch May 4, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.