Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

git reset? I can't imagine any way in which it would destructively modify the files under objects/


Why not? The article claimed it modified a .php file. So I'm curious to know if it would modify the equivalent file under .git/objects?


Because the equivalent file is either compressed with a custom header or in a totally-incomprehensible-to-it binary pack.

Let me put it this way: I would be scared to store an svn checkout because of how svn stores metadata copies. I wouldn't worry about a git checkout.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: