diff options
author | Johan Herland <johan@herland.net> | 2010-06-10 08:09:33 (JST) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2010-06-19 17:40:23 (JST) |
commit | eac1b675414722ae90df75abc727b2795bc096f0 (patch) | |
tree | 4deb6c0ac103ab2f42750d6c7230d45366eb1732 /ui-patch.h | |
parent | ab42741c49d369e41c1e1915c6c024d79509f7d6 (diff) | |
download | cgit-eac1b675414722ae90df75abc727b2795bc096f0.zip cgit-eac1b675414722ae90df75abc727b2795bc096f0.tar.gz |
ui-patch: Apply path limit to generated patch
Also indicate in the comment section of the patch that a path limit was
applied, too easily see when a generated patch is only partial.
Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'ui-patch.h')
-rw-r--r-- | ui-patch.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 | ||
4 | extern void cgit_print_patch(char *hex); | 4 | extern void cgit_print_patch(char *hex, const char *prefix); |
5 | 5 | ||
6 | #endif /* UI_PATCH_H */ | 6 | #endif /* UI_PATCH_H */ |