summaryrefslogtreecommitdiff
path: root/ref-filter.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2020-03-30 14:04:11 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-03-30 17:59:08 (GMT)
commitc79eddf5baac055725ee65ae924654e2f36746b0 (patch)
tree4e8390a4f85854df29f2e796e2d1e0f84f00eb86 /ref-filter.c
parent7383b25d76e5d6465e001b02530464117fb55579 (diff)
downloadgit-c79eddf5baac055725ee65ae924654e2f36746b0.zip
git-c79eddf5baac055725ee65ae924654e2f36746b0.tar.gz
git-c79eddf5baac055725ee65ae924654e2f36746b0.tar.bz2
ref-filter: stop referring to "sha1 array"
A comment refers to the "sha1s in the given sha1 array". But this became an oid_array along with everywhere else in 910650d2f8 (Rename sha1_array to oid_array, 2017-03-31). Plus there's an extra line of leftover editing cruft we can drop. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ref-filter.c')
-rw-r--r--ref-filter.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/ref-filter.c b/ref-filter.c
index b1812cb..3577683 100644
--- a/ref-filter.c
+++ b/ref-filter.c
@@ -1976,10 +1976,9 @@ static int for_each_fullref_in_pattern(struct ref_filter *filter,
}
/*
- * Given a ref (sha1, refname), check if the ref belongs to the array
- * of sha1s. If the given ref is a tag, check if the given tag points
- * at one of the sha1s in the given sha1 array.
- * the given sha1_array.
+ * Given a ref (oid, refname), check if the ref belongs to the array
+ * of oids. If the given ref is a tag, check if the given tag points
+ * at one of the oids in the given oid array.
* NEEDSWORK:
* 1. Only a single level of inderection is obtained, we might want to
* change this to account for multiple levels (e.g. annotated tags