aboutsummaryrefslogtreecommitdiff
path: root/object.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2026-03-02 17:06:53 -0800
committerJunio C Hamano <gitster@pobox.com>2026-03-02 17:06:53 -0800
commit13763ecf7d92be72beff75c59163c5448d9e085e (patch)
tree936c5d97e77cefb1f0da9b2aae1054b1433bc690 /object.h
parent34113149cfde760b6b791939c6d8d87d27ca2767 (diff)
parentbb5da75d6116c35924a04a418ef4c3182663d0a2 (diff)
downloadgit-13763ecf7d92be72beff75c59163c5448d9e085e.tar.xz
Merge branch 'ps/receive-pack-shallow-optim'
The code to accept shallow "git push" has been optimized. * ps/receive-pack-shallow-optim: commit: use commit graph in `lookup_commit_reference_gently()` commit: make `repo_parse_commit_no_graph()` more robust commit: avoid parsing non-commits in `lookup_commit_reference_gently()`
Diffstat (limited to 'object.h')
-rw-r--r--object.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/object.h b/object.h
index dfe7a1f0ea..d814647ebe 100644
--- a/object.h
+++ b/object.h
@@ -309,6 +309,11 @@ enum peel_status peel_object(struct repository *r,
const struct object_id *name,
struct object_id *oid,
unsigned flags);
+enum peel_status peel_object_ext(struct repository *r,
+ const struct object_id *name,
+ struct object_id *oid,
+ unsigned flags,
+ enum object_type *typep);
struct object_list *object_list_insert(struct object *item,
struct object_list **list_p);