summaryrefslogtreecommitdiff
path: root/json-writer.c
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2019-03-24 15:20:14 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-03-24 22:21:24 +0900
commitcdb5330a9baa64c28473fb0f446ca2242d6971fb (patch)
treeed2418ab41323ba875ac13d5969a085614873457 /json-writer.c
parentdiff --no-index: use parse_options() instead of diff_opt_parse() (diff)
downloadtgif-cdb5330a9baa64c28473fb0f446ca2242d6971fb.tar.xz
am: avoid diff_opt_parse()
diff_opt_parse() is a heavy hammer to just set diff filter. But it's the only way because of the diff_status_letters[] mapping. Add a new API to set diff filter and use it in git-am. diff_opt_parse()'s only remaining call site in revision.c will be gone soon and having it here just because of git-am does not make sense. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'json-writer.c')
0 files changed, 0 insertions, 0 deletions