Dear diary, on Fri, Apr 22, 2005 at 08:23:41AM CEST, I got a letter where Junio C Hamano <[EMAIL PROTECTED]> told me that... > >>>>> "LT" == Linus Torvalds <[EMAIL PROTECTED]> writes: > - Further admit that to support it without core layer help, > what Cogito layer needs to do involves quite a lot of "yuck" > factor.
I actually thought that I would just walk to parent directories at the time of invocation, to find the .git directory, then save that to $gitdir and use that to always reference to it, setting also GIT_INDEX_FILE etc. I basically just postponed this until I have some kind of library or something, and do all this stuff in a single common init routine. I think it should be doable pretty well in Cogito alone, but of course I won't mind if someone does it in git core. ;-) -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html