summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-02-24 00:09:28 +0000
committerJunio C Hamano <gitster@pobox.com>2023-02-23 17:25:29 -0800
commitb6c09c03eba37934871239ff98d88bd023c60b5a (patch)
treed8da30a98dbde0e10470f14eb8770fca0bc0a431 /commit.h
parent41771fa435a44ff8be3f23753bde0309a2a65b03 (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 'commit.h')
-rw-r--r--commit.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/commit.h b/commit.h
index cc2c5da7bd..06657b4c6e 100644
--- a/commit.h
+++ b/commit.h
@@ -205,7 +205,6 @@ void free_commit_list(struct commit_list *list);
struct rev_info; /* in revision.h, it circularly uses enum cmit_fmt */
-int has_non_ascii(const char *text);
const char *logmsg_reencode(const struct commit *commit,
char **commit_encoding,
const char *output_encoding);