Re: Call setup_git_directory() early
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jul 29, 2006, 05:06 UTC
- Message-ID
- <7vodv9j8yg.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.64.0607282118230.4168@g5.osdl.org>
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.