diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2009-08-10 18:22:18 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-08-10 23:39:39 +0200 |
commit | 28e9cf6512cae1b50a2d2003bb59da4392d99e2e (patch) | |
tree | 7481792b7321e263437c6fe3650244db607de6ef /commit.h | |
parent | Merge branch 'maint-1.6.3' into maint (diff) | |
download | git-28e9cf6512cae1b50a2d2003bb59da4392d99e2e.tar.xz git-28e9cf6512cae1b50a2d2003bb59da4392d99e2e.zip |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |