summaryrefslogtreecommitdiffstats
path: root/shallow.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2022-06-19 05:55:16 +0200
committerJunio C Hamano <gitster@pobox.com>2022-06-21 17:52:37 +0200
commit9bef0b1e6ec371e786c2fba3edcc06ad040a536c (patch)
tree24c140edca35b08f2130de92243e75a9e8d08389 /shallow.c
parentfetch: stop passing around unused worktrees variable (diff)
downloadgit-9bef0b1e6ec371e786c2fba3edcc06ad040a536c.tar.xz
git-9bef0b1e6ec371e786c2fba3edcc06ad040a536c.zip
branch: drop unused worktrees variable
After b489b9d9aa (branch: use branch_checked_out() when deleting refs, 2022-06-14), we no longer look at our local "worktrees" variable, since branch_checked_out() handles it under the hood. The compiler didn't notice the unused variable because we call functions to initialize and free it (so it's not totally unused, it just doesn't do anything useful). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'shallow.c')
0 files changed, 0 insertions, 0 deletions