Sorry for the earlier crapoid. The diffs contained there for t/trash stuff were due to my earlier version that marked init-db to be GITDIR_OPTIONAL -- which caused the "optional" discovery to find the .git/ directory two levels up (relative to t/trash) and contaminating the primary index file by mistake (Yuck). Your patch makes a lot of sense. - : send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html