]> git.cameronkatri.com Git - cgit.git/blobdiff - ui-patch.h
ui-snapshot: pass repo into get_ref_from_filename()
[cgit.git] / ui-patch.h
index 9f68212bd57a236e00bed6b26ab43df242ba2b6e..7a6cacd5acfe11eb77a1711593edf5ab13646751 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef UI_PATCH_H
 #define UI_PATCH_H
 
 #ifndef UI_PATCH_H
 #define UI_PATCH_H
 
-extern void cgit_print_patch(char *hex);
+extern void cgit_print_patch(const char *new_rev, const char *old_rev,
+                            const char *prefix);
 
 #endif /* UI_PATCH_H */
 
 #endif /* UI_PATCH_H */