author | Junio C Hamano <junkio@cox.net> | |
Mon, 17 Jul 2006 06:25:12 +0000 (23:25 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 17 Jul 2006 06:25:12 +0000 (23:25 -0700) | ||
commit | f8f0b1f0e7e96bf996c657d2c5c15e0ba3a4eeac | |
tree | dae37badcba43ea7116fbe9c5dd5512a4696ff76 | tree | snapshot |
parent | 7b520e62a2738ce776d1c9f11144021ff1fc63b6 | commit | diff |
checkout -f failed to check out a file if an existing directory interfered.
When path foo/bar existed in the working tree, checkout -f to switch to
a branch that has a file foo silently did a wrong thing. It failed to
remove the directory foo, did not check out the file foo, and the worst
of all it did not report any errors.
Signed-off-by: Junio C Hamano <junkio@cox.net>
When path foo/bar existed in the working tree, checkout -f to switch to
a branch that has a file foo silently did a wrong thing. It failed to
remove the directory foo, did not check out the file foo, and the worst
of all it did not report any errors.
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-read-tree.c | diff | blob | history |