summaryrefslogtreecommitdiff
path: root/dir-iterator.c
diff options
context:
space:
mode:
authorLibravatar Anders Kaseorg <andersk@mit.edu>2021-12-01 14:15:45 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-12-01 22:18:25 -0800
commit38baae6cfe4ac3af60e127b9e7f9de04c47c4881 (patch)
tree1332dbbcff637e08f089a40e349ff3f797391046 /dir-iterator.c
parentfetch: protect branches checked out in all worktrees (diff)
downloadtgif-38baae6cfe4ac3af60e127b9e7f9de04c47c4881.tar.xz
receive-pack: clean dead code from update_worktree()
update_worktree() can only be called with a non-NULL worktree parameter, because that’s the only case where we set do_update_worktree = 1. worktree->path is always initialized to non-NULL. Signed-off-by: Anders Kaseorg <andersk@mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'dir-iterator.c')
0 files changed, 0 insertions, 0 deletions