Right. Who wants "add" to actually mean "add and delete"?
Shouldn't that be then called "git-add-and-rm"?
We recently talked about this on the mailing list and decided that
git-add shouldn't remove files that have disappeared, as doing so
might break most user's expections of what git-add does.
"git commit -a" will remove disappeared files. It has for quite
some time.
Try adding the -M option to "git-diff". That will enable the rename
detection, and show the rename you are looking to see.
--
Shawn.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html