summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff-tree_-p_initial
diff options
context:
space:
mode:
authorLibravatar Christian Couder <christian.couder@gmail.com>2016-09-04 22:18:30 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-09-07 12:29:53 -0700
commit7e1bad24e3b7f220813d8a449f19652113edb923 (patch)
treea30fc0cebdaa9a0276bb3d22986233b4f499ea4c /t/t4013/diff.diff-tree_-p_initial
parentapply: change error_routine when silent (diff)
downloadtgif-7e1bad24e3b7f220813d8a449f19652113edb923.tar.xz
apply: refactor `git apply` option parsing
Parsing `git apply` options can be useful to other commands that want to call the libified apply functionality, because this way they can easily pass some options from their own command line to the libified apply functionality. This will be used by `git am` in a following patch. To make this possible, let's refactor the `git apply` option parsing code into a new libified apply_parse_options() function. Doing that makes it possible to remove some functions definitions from "apply.h" and make them static in "apply.c". Helped-by: Ramsay Jones <ramsay@ramsayjones.plus.com> Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff-tree_-p_initial')
0 files changed, 0 insertions, 0 deletions