diff options
| author | saturneric <[email protected]> | 2025-11-02 15:21:58 +0000 |
|---|---|---|
| committer | saturneric <[email protected]> | 2025-11-02 15:21:58 +0000 |
| commit | 960134bef2cd769981cad8df0bd63cb0461e6bbe (patch) | |
| tree | 6118799a8eb7ceb1efcff4e2c0be3dd21b2f4e4f /cgit.c | |
| parent | chore(submodule): update `git` submodule URL and commit (diff) | |
| download | cgit-960134bef2cd769981cad8df0bd63cb0461e6bbe.tar.gz cgit-960134bef2cd769981cad8df0bd63cb0461e6bbe.zip | |
refactor(repo): migrate to new object database API
* Replace legacy object store interfaces with new `odb` API
* Update function signatures to include referent param for callbacks
* Use improved object lookup and read methods for consistency
* Simplify file path handling with repository-scoped utilities
Modernizes repository object access for better maintainability and future
compatibility. No functional regressions expected.
Diffstat (limited to 'cgit.c')
| -rw-r--r-- | cgit.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -448,8 +448,8 @@ struct refmatch { int match; }; -static int find_current_ref(const char *refname, const struct object_id *oid, - int flags, void *cb_data) +static int find_current_ref(const char *refname, const char *referent, + const struct object_id *oid, int flags, void *cb_data) { struct refmatch *info; |
