From: Fredrik Kuivinen Date: Tue, 15 Aug 2006 20:51:50 GMT Subject: git-mv is broken in master Message-ID: <20060815205150.GA467@c165.ib.student.liu.se> Hi, With the current master I get the following: $ git-mv README README-renamed fatal: can not move directory into itself, source=README, destination=README-renamed Which is buggy. The culprit seems to be the test if (!bad && !strncmp(destination[i], source[i], strlen(source[i]))) bad = "can not move directory into itself"; at line ~207 in builtin-mv.c. If the source isn't a prefix of the destination things works as expected, $ git mv README renamed-README $ - Fredrik