diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-10-04 15:03:33 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-10-04 15:49:05 -0700 |
commit | 077965f84a580b7e1de7d60ed13656bec19cc2fb (patch) | |
tree | 36de9c7e4d111d63157ef8459c43a928e3fd2674 /version.c | |
parent | t4015: split out the "setup" part of ws-error-highlight test (diff) | |
download | tgif-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 'version.c')
0 files changed, 0 insertions, 0 deletions