Re:Webmin 1.890 Exploit – What Happened?
by floatingatoll on Sunday August 25, 2019 @03:13PM
(#20794879)
For folks wondering how to check whether a given git checkout has modified files that git hasn’t detected, you can tell it to reset the cache and re-checksum all files on disk:
For anyone using a persistent checkout approach, consider how often you should run this command on your checkout, and when you last did.
[ Parent
| on HN ]
How does this interact with git clean, reset and checkout?
Re:Webmin 1.890 Exploit – What Happened?
by floatingatoll on Sunday August 25, 2019 @04:53PM
(#20795507)
Those commands all depend on the index that this command regenerates. Presumably git puts a lock while it’s regenerating the index, but I haven’t tested that yet. (It would be unlike git to not place a lock here.)