]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.c
git: update to v2.5.0
[ps-cgit] / cgit.c
diff --git a/cgit.c b/cgit.c
index 8c9cfb5e87ad9343f21b6cc0b032575969e4b914..ed026142a4fce1f9c9f6d94a094a21ec8f9ae87d 100644 (file)
--- a/cgit.c
+++ b/cgit.c
@@ -421,7 +421,7 @@ struct refmatch {
        int match;
 };
 
        int match;
 };
 
-static int find_current_ref(const char *refname, const unsigned char *sha1,
+static int find_current_ref(const char *refname, const struct object_id *oid,
                            int flags, void *cb_data)
 {
        struct refmatch *info;
                            int flags, void *cb_data)
 {
        struct refmatch *info;