Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Read the config in rev-list
author
Fredrik Kuivinen
<frekui@gmail.com>
Sun, 18 Feb 2007 09:36:22 +0000
(10:36 +0100)
committer
Junio C Hamano
<junkio@cox.net>
Sun, 18 Feb 2007 23:58:08 +0000
(15:58 -0800)
Otherwise "git rev-list --header HEAD" will not do the right
thing if i18n.commitencoding is set.
Signed-off-by: Fredrik Kuivinen <frekui@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-rev-list.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
21b4875
)
diff --git
a/builtin-rev-list.c
b/builtin-rev-list.c
index 1bb3a06680194ce5855185ad1a1c7e39eeebba94..c2db5a5b037babf9020353d9b11dc348915b6c1b 100644
(file)
--- a/
builtin-rev-list.c
+++ b/
builtin-rev-list.c
@@
-226,6
+226,7
@@
int cmd_rev_list(int argc, const char **argv, const char *prefix)
int i;
int read_from_stdin = 0;
+ git_config(git_default_config);
init_revisions(&revs, prefix);
revs.abbrev = 0;
revs.commit_format = CMIT_FMT_UNSPECIFIED;