summaryrefslogtreecommitdiff
path: root/builtin-fetch-pack.c
diff options
context:
space:
mode:
authorLibravatar Petr Baudis <pasky@suse.cz>2008-07-16 21:11:08 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-07-27 15:05:19 -0700
commitf6c52fe4e871d1d07cb7d86692ccf8cc4de54579 (patch)
tree829aca4b06666c63444a2423be330612926f018c /builtin-fetch-pack.c
parentfsck: Don't require tmp_obj_ file names are 14 bytes in length (diff)
downloadtgif-f6c52fe4e871d1d07cb7d86692ccf8cc4de54579.tar.xz
git-mv: Remove dead code branch
The path list builder had a branch for the case the source is not in index, but this can happen only if the source was a directory. However, in that case we have already expanded the list to the directory contents and set mode to WORKING_DIRECTORY, which is tested earlier. The patch removes the superfluous branch and adds an assert() instead. git-mv testsuite still passes. Signed-off-by: Petr Baudis <pasky@suse.cz> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-fetch-pack.c')
0 files changed, 0 insertions, 0 deletions