Code

commit-tree: cope with different ways "utf-8" can be spelled.
authorJunio C Hamano <junkio@cox.net>
Sat, 30 Dec 2006 20:20:43 +0000 (12:20 -0800)
committerJunio C Hamano <junkio@cox.net>
Sat, 30 Dec 2006 23:58:43 +0000 (15:58 -0800)
commit677cfed56ac530878b746ee4cca3ada8af384a81
tree19b8162432db50d0940067236af6ec8791a9ac03
parent7cbcf4d5579bdc5d9f8a4bf3f37d3390fc6e2572
commit-tree: cope with different ways "utf-8" can be spelled.

People can spell config.commitencoding differently from what we
internally have ("utf-8") to mean UTF-8.  Try to accept them and
treat them equally.

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-commit-tree.c
utf8.c
utf8.h