diff options
author | Martin Ågren <martin.agren@gmail.com> | 2020-09-27 15:15:46 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-09-27 14:21:47 -0700 |
commit | fb07bd42975bcbfbc29d4a3ef1bff1039a469336 (patch) | |
tree | 0b605ea6328699f40b2a09869e385e64e0386b1a /read-cache.c | |
parent | worktree: update renamed variable in comment (diff) | |
download | tgif-fb07bd42975bcbfbc29d4a3ef1bff1039a469336.tar.xz |
worktree: rename copy-pasted variable
As the commit message of 04a3dfb8b5 ("worktree.c: check whether branch
is bisected in another worktree", 2016-04-22) indicates, the function
`is_worktree_being_bisected()` is based on the older function
`is_worktree_being_rebased()`. This heritage can also be seen in the
name of the variable where we store our return value: It was never
adapted while copy-editing and remains as `found_rebase`.
Rename the variable to make clear that we're looking for a bisect(ion),
nothing else.
Signed-off-by: Martin Ågren <martin.agren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'read-cache.c')
0 files changed, 0 insertions, 0 deletions