]> git.ipfire.org Git - thirdparty/git.git/commit - diff.c
quote: turn 'nodq' parameter into a set of flags
authorJunio C Hamano <gitster@pobox.com>
Thu, 10 Sep 2020 17:01:59 +0000 (10:01 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 10 Sep 2020 20:08:07 +0000 (13:08 -0700)
commit7c37c9750a0b402a68c73d0e4644f538a026d121
tree215b6a134214638c302e67ba881a48056c3e2e20
parentdfc7f65c261e923a41c910a11390d487e66eb6fe
quote: turn 'nodq' parameter into a set of flags

quote_c_style() and its friend quote_two_c_style() both take an
optional "please omit the double quotes around the quoted body"
parameter.  Turn it into a flag word, assign one bit out of it,
and call it CQUOTE_NODQ bit.

No behaviour change intended.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c
quote.c
quote.h