- 279comments
- 26comments
- 28comments
- 97comments
- 36comments
- 289comments
- 245comments
- 175comments
- 142comments
- 9comments
- 7comments
- 41comments
- 2comments
- 46comments
- 30comments
- 3comments
- —discuss
- 54comments
- 164comments
- 416comments
- 28comments
- 184comments
- 3comments
- 40comments
- 17comments
- 32comments
- 2comments
- 116comments
- 246comments
- —discuss
`git add --resolved` is a wonderful idea, and definitely something I would start using.
Does it mean that when switching trop sha1 to sha256 you need to forcepush and rewrite all history? Wouldn’t that be a massive source of potential vulnerabilities?
I don't know much about this. How does that enable vulnerabilities exactly?
Trusting a forced push w/o any other verification means nefarious history changes can be slipped in.
Semi-relevant-ish: https://blog.citp.princeton.edu/2013/10/09/the-linux-backdoo...
i guess that for now only the default will change for new repositories. support for sha1 is not going to be dropped, so most existing repositories won't switch any time soon. if you want to switch then yes, it sounds like a force push might be needed, although it could also be that simply switching is not possible, but that instead you have to create a new repo and import the history from the old repo, forcing everyone to clone the new repo intentionally.
git nuke --rust-rewrite --for-the-love-of-god