summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: be4c701)
raw | patch | inline | side by side (parent: be4c701)
author | Eric Wong <normalperson@yhbt.net> | |
Fri, 7 Jul 2006 10:10:45 +0000 (03:10 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 7 Jul 2006 10:25:14 +0000 (03:25 -0700) |
The log commands are all capable of generating diffs, so we
should respect those configuration options for diffs here.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
should respect those configuration options for diffs here.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-log.c | patch | blob | history |
diff --git a/builtin-log.c b/builtin-log.c
index 864c6cd9ea1777bc15b12333b88b2e3a3f013321..698b71ecc8acb0e62b32ea6f1df6f1a4fc251058 100644 (file)
--- a/builtin-log.c
+++ b/builtin-log.c
{
struct rev_info rev;
+ git_config(git_diff_config);
init_revisions(&rev);
rev.diff = 1;
rev.diffopt.recursive = 1;
{
struct rev_info rev;
+ git_config(git_diff_config);
init_revisions(&rev);
rev.diff = 1;
rev.diffopt.recursive = 1;
{
struct rev_info rev;
+ git_config(git_diff_config);
init_revisions(&rev);
rev.always_show_header = 1;
cmd_log_init(argc, argv, envp, &rev);
strcat(extra_headers, value);
return 0;
}
- return git_default_config(var, value);
+ return git_diff_config(var, value);
}
struct diff_options patch_id_opts;
char *add_signoff = NULL;
+ git_config(git_format_config);
init_revisions(&rev);
rev.commit_format = CMIT_FMT_EMAIL;
rev.verbose_header = 1;
rev.diffopt.msg_sep = "";
rev.diffopt.recursive = 1;
- git_config(git_format_config);
rev.extra_headers = extra_headers;
/*