2011/1/18 Jonathan Nieder <jrnieder@xxxxxxxxx>: > How about something like this patch? ÂIt only concerns the > GIT_WORK_TREE variable and --work-tree command line option; the > semantics of core.worktree are unaffected. Perhaps only activate your code if $GIT_WORK_TREE is absolute path? Things may go wild if $GIT_WORK_TREE is relative. We can die() if GIT_WORK_TREE is set but not used. Annoying, but better than leave the errors unseen. > (Sorry, no real patch yet. ÂUpdating the test to reflect the change is > a pain in the neck.) Yeah, I count on it to (over-)catch every mistakes in setup code :D -- 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