diff options
author | Clemens Buchacher <drizzd@aon.at> | 2009-01-01 21:54:33 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-01-05 12:48:43 -0800 |
commit | 7b9e3ce0255002075809917e0384cba3a0d18589 (patch) | |
tree | 19ba55daca9cdb138afbf468059c3b6c268941c1 /t/t1502-rev-parse-parseopt.sh | |
parent | unpack-trees: fix path search bug in verify_absent (diff) | |
download | tgif-7b9e3ce0255002075809917e0384cba3a0d18589.tar.xz |
unpack-trees: remove redundant path search in verify_absent
Since the only caller, verify_absent, relies on the fact that o->pos
points to the next index entry anyways, there is no need to recompute
its position.
Furthermore, if a nondirectory entry were found, this would return too
early, because there could still be an untracked directory in the way.
This is currently not a problem, because verify_absent is only called
if the index does not have this entry.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1502-rev-parse-parseopt.sh')
0 files changed, 0 insertions, 0 deletions