On Sun, Jan 06, 2008 at 06:05:16PM -0800, Junio C Hamano wrote: > Actually, I think I found a bug. > > $ git reset --hard > $ echo >>Makefile > $ git diff --numstat > 1 0 Makefile > $ git mv Makefile makefile > $ git diff > $ git diff --cached -M --numstat > 1 0 Makefile => makefile > > "git mv" should not have staged the change. It should have > moved the index entry from Makefile to makefile and moved the > work tree files. I thought there was some discussion about this a few months ago, concerning what exactly it should do, and that was how we arrived at the current behavior. However, I can't seem to find it now. Maybe I dreamed it. -Peff - 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