]> git.ipfire.org Git - thirdparty/git.git/commit - diff.h
diff --no-index: use parse_options() instead of diff_opt_parse()
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 24 Mar 2019 08:20:13 +0000 (15:20 +0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 24 Mar 2019 13:21:24 +0000 (22:21 +0900)
commit16bb3d714dcb1bf50f7f96b957c4306dc6df137e
tree94e12ab57590fba02355d55a5cb05839cbcb57dc
parentc380a48c8b40331dd6466d6b565af6d44c7b11bf
diff --no-index: use parse_options() instead of diff_opt_parse()

While at there, move exit() back to the caller. It's easier to see the
flow that way than burying it in diff-no-index.c

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/diff.c
diff-no-index.c
diff.h
t/t4053-diff-no-index.sh