author | Jeff King <peff@peff.net> | |
Mon, 8 Dec 2008 02:54:17 +0000 (21:54 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 8 Dec 2008 03:59:25 +0000 (19:59 -0800) | ||
commit | 5ec11af61d907311e4e1b21e10009b06dc2cf74a | |
tree | 898c41036a30cab06466e64b95c27fee5f17529c | tree | snapshot |
parent | 63e8dc5b14b8b80c1a0138c73c875bd82b8b027d | commit | diff |
reorder ALLOW_TEXTCONV option setting
Right now for the diff porcelain and the log family, we
call:
init_revisions();
setup_revisions();
DIFF_OPT_SET(ALLOW_TEXTCONV);
However, that means textconv will _always_ be on, instead of
being a default that can be manipulated with
setup_revisions. Instead, we want:
init_revisions();
DIFF_OPT_SET(ALLOW_TEXTCONV);
setup_revisions();
which is what this patch does.
We'll go ahead and move the callsite in wt-status, also;
even though the user can't pass any options here, it is a
cleanup that will help avoid any surprise later if the
setup_revisions line is changed.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Right now for the diff porcelain and the log family, we
call:
init_revisions();
setup_revisions();
DIFF_OPT_SET(ALLOW_TEXTCONV);
However, that means textconv will _always_ be on, instead of
being a default that can be manipulated with
setup_revisions. Instead, we want:
init_revisions();
DIFF_OPT_SET(ALLOW_TEXTCONV);
setup_revisions();
which is what this patch does.
We'll go ahead and move the callsite in wt-status, also;
even though the user can't pass any options here, it is a
cleanup that will help avoid any surprise later if the
setup_revisions line is changed.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-diff.c | diff | blob | history | |
builtin-log.c | diff | blob | history | |
wt-status.c | diff | blob | history |