diff options
author | Elijah Newren <newren@gmail.com> | 2023-02-24 03:09:28 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-02-24 04:25:29 +0300 |
commit | b6c09c03eba37934871239ff98d88bd023c60b5a (patch) | |
tree | d8da30a98dbde0e10470f14eb8770fca0bc0a431 /pretty.h | |
parent | 41771fa435a44ff8be3f23753bde0309a2a65b03 (diff) |
pretty.h: move has_non_ascii() declaration from commit.h
The function is defined in pretty.c, so this moves the declaration to
a more logical place.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pretty.h')
-rw-r--r-- | pretty.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -153,6 +153,8 @@ int commit_format_is_empty(enum cmit_fmt); /* Make subject of commit message suitable for filename */ void format_sanitized_subject(struct strbuf *sb, const char *msg, size_t len); +int has_non_ascii(const char *text); + /* * Set values of fields in "struct process_trailer_options" * according to trailers arguments. |