summaryrefslogtreecommitdiff
path: root/list-objects-filter.c
diff options
context:
space:
mode:
authorMartin Ågren <martin.agren@gmail.com>2020-12-31 11:56:20 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-01-04 21:01:55 (GMT)
commit1e6771e5046232e448e2dde4f0fee1752c9e1d04 (patch)
tree3bdc0ca1ca85837e6bc579ceada483ba3baed312 /list-objects-filter.c
parent71ca53e8125e36efbda17293c50027d31681a41f (diff)
downloadgit-1e6771e5046232e448e2dde4f0fee1752c9e1d04.zip
git-1e6771e5046232e448e2dde4f0fee1752c9e1d04.tar.gz
git-1e6771e5046232e448e2dde4f0fee1752c9e1d04.tar.bz2
object-name.c: rename from sha1-name.c
Generalize the last remnants of "sha" and "sha1" in this file and rename it to reflect that we're not just able to handle SHA-1 these days. We need to update one test to check for an updated error string. Signed-off-by: Martin Ågren <martin.agren@gmail.com> Reviewed-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'list-objects-filter.c')
-rw-r--r--list-objects-filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/list-objects-filter.c b/list-objects-filter.c
index 0a3ef3c..4ec0041 100644
--- a/list-objects-filter.c
+++ b/list-objects-filter.c
@@ -21,7 +21,7 @@
* in the traversal (until we mark it SEEN). This is a way to
* let us silently de-dup calls to show() in the caller. This
* is subtly different from the "revision.h:SHOWN" and the
- * "sha1-name.c:ONELINE_SEEN" bits. And also different from
+ * "object-name.c:ONELINE_SEEN" bits. And also different from
* the non-de-dup usage in pack-bitmap.c
*/
#define FILTER_SHOWN_BUT_REVISIT (1<<21)