diff options
author | Jeff King <peff@peff.net> | 2017-05-19 08:50:07 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-24 10:59:27 +0900 |
commit | f632dedd8d29da20d546612d908a5c1b2ebf37aa (patch) | |
tree | a7da32b2dc5d3f657599dbe3660f4fabe658322d /hashmap.h | |
parent | handle_revision_arg: simplify commit reference lookups (diff) | |
download | tgif-f632dedd8d29da20d546612d908a5c1b2ebf37aa.tar.xz |
handle_revision_arg: stop using "dotdot" as a generic pointer
The handle_revision_arg() function has a "dotdot" variable
that it uses to find a ".." or "..." in the argument. If we
don't find one, we look for other marks, like "^!". But we
just keep re-using the "dotdot" variable, which is
confusing.
Let's introduce a separate "mark" variable that can be used
for these other marks. They still reuse the same variable,
but at least the name is no longer actively misleading.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'hashmap.h')
0 files changed, 0 insertions, 0 deletions