git-update-cache refuses to add a file where a directory is registed.
commit0f1e4f04013fec0ba8a51a93fc5d3ec6df706168
authorJunio C Hamano <junkio@cox.net>
Sun, 8 May 2005 04:48:12 +0000 (7 21:48 -0700)
committerJunio C Hamano <junkio@cox.net>
Sun, 8 May 2005 04:48:12 +0000 (7 21:48 -0700)
tree105f8c2da3b25d80290f9ccbcd1e34a4ed2a89c4
parent77a837314ef504ed3447087c0fed7222ebb9ae42
git-update-cache refuses to add a file where a directory is registed.

And vice versa.  The next commit will introduce an option
--replace to allow replacing existing entries.

Signed-off-by: Junio C Hamano <junkio@cox.net>
read-cache.c