blob: 4575d1bc39ec97b626eb2b3595865bcb1c9835e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * The patch page, which hands back a commit or a range of commits as a plain
 * text mail patch that git am can apply. Any of the newer revision, the older
 * one, and the path that limits the diff may be null, meaning the current
 * head, the first parent, and the whole tree.
 */

#ifndef CGIT_UI_PATCH_H
#define CGIT_UI_PATCH_H

extern void cgit_print_patch(const char *new_rev, const char *old_rev, const char *prefix);

#endif // CGIT_UI_PATCH_H