summaryrefslogtreecommitdiff
path: root/builtin/update-index.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2016-01-31 06:35:46 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-02-01 14:14:20 -0800
commit1f3c79a9d6c3278753e7fb63b48569a9ff8632df (patch)
tree904b918bc2dd1aa8f62ca578e36384f61662926c /builtin/update-index.c
parentcheckout-index: disallow "--no-stage" option (diff)
downloadtgif-1f3c79a9d6c3278753e7fb63b48569a9ff8632df.tar.xz
apply, ls-files: simplify "-z" parsing
As a short option, we cannot handle negation. Thus a callback handling "unset" is overkill, and we can just use OPT_SET_INT instead to handle setting the option. Anybody who adds "--nul" synonym to this later would need to be careful not to break "--no-nul", which should mean that lines are terminated with LF at the end. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/update-index.c')
0 files changed, 0 insertions, 0 deletions