From 80767bc9732bf6716697198e53ff2cb8d4ae96be Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Wed, 12 Aug 2026 18:23:17 -1000 Subject: Restyle the sources and fix the audit's findings --- source/ui-patch.h | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'source/ui-patch.h') 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 -- cgit v2.8.0