summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-10-04 15:03:33 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-10-04 15:49:05 -0700
commit077965f84a580b7e1de7d60ed13656bec19cc2fb (patch)
tree36de9c7e4d111d63157ef8459c43a928e3fd2674 /commit.c
parentt4015: split out the "setup" part of ws-error-highlight test (diff)
downloadtgif-077965f84a580b7e1de7d60ed13656bec19cc2fb.tar.xz
diff.c: refactor parse_ws_error_highlight()
Rename the function to parse_ws_error_highlight_opt(), because it is meant to parse a command line option, and then refactor the meat of the function into a helper function that reports the parsed result which is typically a small unsigned int (these are OR'ed bitmask after all), or a negative offset that indicates where in the input string a parse error happened. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions