On Tue, Oct 21, 2008 at 09:57:04PM +0700, Nguyen Thai Ngoc Duy wrote: > (e.g. running "git apply" or "git bundle" from inside .git). Maybe we > should let setup_*_gently() do read-only stuff only and let its > consumers to handle cwd. I recall Jeff has plan about worktree setup > rework, though could not find the thread. Will think more of it > tomorrow. If by "plan" you mean "intense desire to see it fixed", then yes, I have a plan. But there isn't a concrete plan yet, and I'm not sure when I'll get to it. I have a vague assumption that we should move in the direction of just setting up as much of the environment as possible (finding git dir, finding work tree, reading config, etc) as soon as possible, but not producing any error messages or dying as a result. Then those commands which want to enforce that some setup has occurred can easily do so. -Peff -- 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