diff options
author | Anders Kaseorg <andersk@mit.edu> | 2021-12-01 14:15:45 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-12-01 22:18:25 -0800 |
commit | 38baae6cfe4ac3af60e127b9e7f9de04c47c4881 (patch) | |
tree | 1332dbbcff637e08f089a40e349ff3f797391046 /t | |
parent | fetch: protect branches checked out in all worktrees (diff) | |
download | tgif-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 't')
0 files changed, 0 insertions, 0 deletions