Duy Nguyen <pclouds@xxxxxxxxx> writes: > basename() does (or I think so because Windows has its own version). > worktree->path always uses '/' but the command line option can come > with either '/' or '\'. Probably safest to accept both. OK. Going beyond basename() was merely "This might be an easy nice-to-have enhancement", not "basename() is not sufficient because of such and such issues", so the patch is fine as-is. Thanks. -- 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