]> git.cameronkatri.com Git - cgit.git/blobdiff - parsing.c
global: make 'char *path' const where possible
[cgit.git] / parsing.c
index 9e73e70c3cf909125f7444c7d7f96ea6c87466eb..7b3980e6b1d0dca661183ddfcb45ab491354ce2d 100644 (file)
--- a/parsing.c
+++ b/parsing.c
@@ -129,7 +129,7 @@ struct commitinfo *cgit_parse_commit(struct commit *commit)
 {
        const int sha1hex_len = 40;
        struct commitinfo *ret;
-       const char *p = get_cached_commit_buffer(commit, NULL);
+       const char *p = get_cached_commit_buffer(the_repository, commit, NULL);
        const char *t;
 
        ret = xcalloc(1, sizeof(struct commitinfo));