summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-11-02 16:36:30 -0800
committerJunio C Hamano <gitster@pobox.com>2008-11-02 16:36:30 -0800
commit0eb5ebc1d862737ea2b313d0d77d120b3d114099 (patch)
tree86953ccb34217f1dfab70061373ac2187aa3f924 /commit.h
parent7429ed2bad6297f0aef921b83083c572975fde71 (diff)
parent69cd8f63427c65c65d9cd66bb8c05ca93dc3edef (diff)
downloadgit-0eb5ebc1d862737ea2b313d0d77d120b3d114099.tar.gz
Merge branch 'ag/blame-encoding'
* ag/blame-encoding: builtin-blame: Reencode commit messages according to git-log rules.
Diffstat (limited to 'commit.h')
-rw-r--r--commit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/commit.h b/commit.h
index 4c05864fb4..3a7b06a828 100644
--- a/commit.h
+++ b/commit.h
@@ -65,6 +65,8 @@ enum cmit_fmt {
extern int non_ascii(int);
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);
extern void get_commit_format(const char *arg, struct rev_info *);
extern void format_commit_message(const struct commit *commit,
const void *format, struct strbuf *sb,