>From Junio C Hamano <gitster@xxxxxxxxx>, Mon, Mar 15, 2010 at 09:19:17PM -0700: > > How inefficient is it to repeatedly call getenv() in a loop, by the way? > I think the patch would become easier to read if env_bool() is called once > at the beginning to set a local variable, and not even do the initial stat() > for "." if this feature is not asked for. Agreed, I didn't do this too efficiently. Thanks for the feedback! I'll make a new patch and resubmit. cheers, -lars -- lars r. damerow :: button pusher :: pixar animation studios When in doubt, use brute force. -- To unsubscribe from this list: 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