aboutsummaryrefslogtreecommitdiffstats
path: root/fetch-pack.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-05-23 11:04:28 -0700
committerJunio C Hamano <gitster@pobox.com>2024-05-23 11:04:28 -0700
commitd365a27bf7ba15884a15f31f88ba5adc171c0913 (patch)
tree022e60932da337cb150422406b024e9007194d15 /fetch-pack.c
parentMerge branch 'dm/update-index-doc-fix' (diff)
parentfetch-pack: remove unused 'struct loose_object_iter' (diff)
downloadgit-d365a27bf7ba15884a15f31f88ba5adc171c0913.tar.gz
git-d365a27bf7ba15884a15f31f88ba5adc171c0913.zip
Merge branch 'dg/fetch-pack-code-cleanup'
Code clean-up to remove an unused struct definition. * dg/fetch-pack-code-cleanup: fetch-pack: remove unused 'struct loose_object_iter'
Diffstat (limited to 'fetch-pack.c')
-rw-r--r--fetch-pack.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fetch-pack.c b/fetch-pack.c
index 8e8f3bba32..7d2aef21ad 100644
--- a/fetch-pack.c
+++ b/fetch-pack.c
@@ -733,11 +733,6 @@ static void mark_alternate_complete(struct fetch_negotiator *negotiator UNUSED,
mark_complete(&obj->oid);
}
-struct loose_object_iter {
- struct oidset *loose_object_set;
- struct ref *refs;
-};
-
/*
* Mark recent commits available locally and reachable from a local ref as
* COMPLETE.