mirror of
https://git.zx2c4.com/cgit
synced 2025-09-01 07:19:56 +02:00
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>
This commit is contained in:
parent
455b598778
commit
750f6462c9
3 changed files with 21 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
|||
#ifndef UI_PATCH_H
|
||||
#define UI_PATCH_H
|
||||
|
||||
extern void cgit_print_patch(char *hex, const char *prefix);
|
||||
extern void cgit_print_patch(char *hex, const char *old_rev, const char *prefix);
|
||||
|
||||
#endif /* UI_PATCH_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue