summaryrefslogtreecommitdiff
path: root/src/libgit2/commit_graph.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2022-01-21 19:38:13 -0500
committerEdward Thomson <ethomson@edwardthomson.com>2022-04-10 15:56:57 -0400
commitc2b3b0d87da30efd0df495ea2c99cce2f0b7d6c5 (patch)
treea43e50c27fe27c99a7abf6112a7c6ff6e9317f89 /src/libgit2/commit_graph.h
parent9ffa33a1a39cdee6d1a86fedb797cd30e69529a4 (diff)
downloadlibgit2-c2b3b0d87da30efd0df495ea2c99cce2f0b7d6c5.tar.gz
commit_graph: use raw oid data
The commit graph contains arrays of raw oid data, use a byte array to index into them.
Diffstat (limited to 'src/libgit2/commit_graph.h')
-rw-r--r--src/libgit2/commit_graph.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libgit2/commit_graph.h b/src/libgit2/commit_graph.h
index 45e125b9e..b78ab8177 100644
--- a/src/libgit2/commit_graph.h
+++ b/src/libgit2/commit_graph.h
@@ -36,7 +36,7 @@ typedef struct git_commit_graph_file {
uint32_t num_commits;
/* The OID Lookup table. */
- git_oid *oid_lookup;
+ unsigned char *oid_lookup;
/*
* The Commit Data table. Each entry contains the OID of the commit followed