So you think you know git… today I found out something “funny”. In a git repository:
$ git log
$ fatal: object 1fcc8de9361c56e538ff35d8cc4b07a9c95b7bf3 is corrupted
Okay, WTF? Lets look in the .git directory:
$ cd .git/objects/1f
$ ls -l
total 4
-r--r--r-- 1 root root 1057 2009-06-23 19:03 03db070bcb47bff3f8106f2ec7028b3496aaa8
-r--r--r-- 1 root root 0 2009-08-03 21:41 cc8de9361c56e538ff35d8cc4b07a9c95b7bf3
Ah, 0 bytes, that explains it (probably due to the weird reboot of last night and ext4).

