summaryrefslogtreecommitdiff
path: root/sequencer.c
diff options
context:
space:
mode:
authorLibravatar Stefan Beller <sbeller@google.com>2018-11-13 13:33:57 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-11-14 16:27:50 +0900
commitd173e799ea8fae7d6e4649b763d32d5f0ba82011 (patch)
treeeda386130100c74966d16211cc0ef8fb52f801d8 /sequencer.c
parentMerge branch 'jc/http-curlver-warnings' (diff)
downloadtgif-d173e799ea8fae7d6e4649b763d32d5f0ba82011.tar.xz
diff: align move detection error handling with other options
This changes the error handling for the options --color-moved-ws and --color-moved-ws to be like the rest of the options. Move the die() call out of parse_color_moved_ws into the parsing of command line options. As the function returns a bit field, change its signature to return an unsigned instead of an int; add a new bit to signal errors. Once the error is signaled, we discard the other bits, such that it doesn't matter if the error bit overlaps with any other bit. Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sequencer.c')
0 files changed, 0 insertions, 0 deletions