diff options
author | Jeff King <peff@peff.net> | 2016-01-31 11:35:46 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-02-01 22:14:20 (GMT) |
commit | 1f3c79a9d6c3278753e7fb63b48569a9ff8632df (patch) | |
tree | 904b918bc2dd1aa8f62ca578e36384f61662926c /entry.c | |
parent | 22396175267b7bcef97a02036831152539429bec (diff) | |
download | git-1f3c79a9d6c3278753e7fb63b48569a9ff8632df.zip git-1f3c79a9d6c3278753e7fb63b48569a9ff8632df.tar.gz git-1f3c79a9d6c3278753e7fb63b48569a9ff8632df.tar.bz2 |
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 'entry.c')
0 files changed, 0 insertions, 0 deletions