Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Conversation

smashwilson
Copy link
Contributor

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 smashwilson merged commit 8b0226d into master May 4, 2018
@smashwilson smashwilson deleted the aw/more-readable-git-logs branch May 4, 2018 15:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants