"Marcel M. Cary" <marcel@xxxxxxxxxxxxxxxx> writes: > Nor have I seen a response to the idea of correcting the shell's > behavior in cd_to_toplevel, for example by adding a "cd `pwd`",... I think you probably could fool the shell by unsetting PWD or something silly like that (or "cd -P" which may not be supported by non POSIX shells but I suspect the ones we care about do support it). Doing a 'cd "$(pwd)"' inside cd_to_toplevel would be a less objectionable and arguably more portable workaround for the case where you have a symlink pointing into somewhere in your 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