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

checkout: silence diffs when checking validity of a commit #450

Merged
merged 1 commit into from Apr 5, 2020

Conversation

cole-h
Copy link
Member

@cole-h cole-h commented Apr 5, 2020

Otherwise, when people submit treewide PRs to nixpkgs, the logs get
cluttered with thousands of useless diffs.


The current solution still displays the commit info (e.g. hash, author, date, message, etc); an alternative solution would be to send stdout to /dev/null by using .stdout(Stdio::null()).

This is the only command we spawn that (I think) could possibly generate a diff; if it's still a problem, I'll look into it again.

Otherwise, when people submit treewide PRs to nixpkgs, the logs get
cluttered with thousands of useless diffs.
@grahamc grahamc merged commit b55535a into NixOS:released Apr 5, 2020
@cole-h cole-h deleted the silence-diffs branch April 5, 2020 17:35
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.

None yet

2 participants