aboutsummaryrefslogtreecommitdiffstats
path: root/ui-patch.h
diff options
context:
space:
mode:
authorLukas Fleischer2013-08-20 18:56:14 +0200
committerJason A. Donenfeld2013-08-20 19:55:42 +0200
commit750f6462c9e1e20e87d2bce5ca2e7fd10e0d1ba6 (patch)
treea3b0e425d5f13e35b2a97d7fdb609bb8ada8ede7 /ui-patch.h
parent455b5987780f53ef55ebf6edd4543976763152da (diff)
downloadcgit-750f6462c9e1e20e87d2bce5ca2e7fd10e0d1ba6.tar.gz
cgit-750f6462c9e1e20e87d2bce5ca2e7fd10e0d1ba6.tar.bz2
cgit-750f6462c9e1e20e87d2bce5ca2e7fd10e0d1ba6.zip
Allow for creating patch series
This allows for specifying a revision range using the id2 parameter of /patch/. The output that is produced is similar to $ git format-patch --stdout id2..id Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
Diffstat (limited to 'ui-patch.h')
-rw-r--r--ui-patch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-patch.h b/ui-patch.h
index 1641cea..acd37fd 100644
--- a/ui-patch.h
+++ b/ui-patch.h
@@ -1,6 +1,6 @@
1#ifndef UI_PATCH_H 1#ifndef UI_PATCH_H
2#define UI_PATCH_H 2#define UI_PATCH_H
3 3
4extern void cgit_print_patch(char *hex, const char *prefix); 4extern void cgit_print_patch(char *hex, const char *old_rev, const char *prefix);
5 5
6#endif /* UI_PATCH_H */ 6#endif /* UI_PATCH_H */