summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2009-08-10 18:22:18 +0200
committerJunio C Hamano <gitster@pobox.com>2009-08-10 14:39:39 -0700
commit28e9cf6512cae1b50a2d2003bb59da4392d99e2e (patch)
tree7481792b7321e263437c6fe3650244db607de6ef /commit.h
parent5dc36a5888a7063ff4536c9ea50eb0557bfef627 (diff)
downloadgit-28e9cf6512cae1b50a2d2003bb59da4392d99e2e.tar.gz
Expose the has_non_ascii() function
This function is useful outside of log-tree.c, too. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
-rw-r--r--commit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/commit.h b/commit.h
index ba9f63813e..4886544b63 100644
--- a/commit.h
+++ b/commit.h
@@ -64,6 +64,7 @@ enum cmit_fmt {
};
extern int non_ascii(int);
+extern int has_non_ascii(const char *text);
struct rev_info; /* in revision.h, it circularly uses enum cmit_fmt */
extern char *reencode_commit_message(const struct commit *commit,
const char **encoding_p);