Hi, On Tue, 30 Jun 2009, Johannes Sixt wrote: > From: Johannes Sixt <j6t@xxxxxxxx> > > The following invocations did not work as expected on Windows: > > git mv foo\bar dest > git mv foo\ dest > > The first command was interpreted as > > git mv foo/bar dest/foo/bar > > because the Windows style directory separator was not obeyed when the > basename of 'foo\bar' was computed. > > The second command failed because the Windows style directory separator was > not removed from the source directory, whereupon the lookup of the > directory in the index failed. > > This fixes both issues by using is_dir_sep() and basename(). > > Signed-off-by: Johannes Sixt <j6t@xxxxxxxx> ACK Dscho -- 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