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

renderInputDiff: Increase git hash length 8 -> 12 #1396

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

nh2
Copy link
Contributor

@nh2 nh2 commented Jul 20, 2024

See investigation on lengths required to be conflict-free in practice:

#1258 (comment)


Reason: Got annoyed / slowed down today again that the commit c716603a shown in https://hydra.nixos.org/build/266559156 shows 404 on Github: NixOS/nixpkgs@c716603a

This immediately made me suspect that somebody rewrote history (security issue), when in fact the commit is just too short.

We should not waste time with such things, so bump the length.

See investigation on lengths required to be conflict-free in practice:

NixOS#1258 (comment)
@delroth
Copy link
Contributor

delroth commented Jul 22, 2024

@Mic92 Mic92 merged commit 4bb2f08 into NixOS:master Aug 20, 2024
1 check passed
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.

6 participants