On 10/21/08, Nicolas Pitre <nico@xxxxxxx> wrote: > Before commit d0b92a3f6e it was possible to run 'git index-pack' > directly in the .git/objects/pack/ directory. Restore that ability. I am sorry I did not catch this in the first place. While the fix should be fine for "git index-pack". I wonder what can happen for other setup_*_gently()'s consumers. Other commands may be affected too (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. -- Duy -- 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