Hmmph. I was trying to come up with a better commit log message for this change. Paths given from the command line of checkout-index name files relative to the cwd, whose implication is that it is relative to where you are in relation with the top of the working tree. For doing that, you need to have the work tree to begin with. Does this mean that any command that uses its prefix parameter to cmd_xxx() needs NEED_WORK_TREE? I wonder if it would help us to catch similar breakages if we change git.c::run_command() so that we do not pass prefix (or pass a bogus pointer ((const char *)1)) for commands that do not ask for NEED_WORK_TREE. - 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