]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-snapshot.c
git: update to v2.18.0
[ps-cgit] / ui-snapshot.c
index 83ce6e86243fd3105f24bef20a71924a0e8173e0..92c3277ad42d2410da2c89dca98eba2dff764e75 100644 (file)
@@ -174,7 +174,7 @@ static int write_sig(const struct cgit_snapshot_format *format,
                return 0;
        }
 
-       buf = read_sha1_file(note->hash, &type, &size);
+       buf = read_object_file(note, &type, &size);
        if (!buf) {
                cgit_print_error_page(404, "Not found", "Not found");
                return 0;