diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Restyle the sources and fix the audit's findings
Diffstat (limited to 'source/ui-patch.h')
| -rw-r--r-- | source/ui-patch.h | 13 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1 file changed, 10 insertions, 3 deletions
diff --git a/source/ui-patch.h b/source/ui-patch.h index 7a6cacd..4dfe8bc 100644 --- a/source/ui-patch.h +++ b/source/ui-patch.h @@ -1,7 +1,14 @@ -#ifndef UI_PATCH_H -#define UI_PATCH_H +/* + * 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 /* UI_PATCH_H */ +#endif // CGIT_UI_PATCH_H |
