]> git.ipfire.org Git - thirdparty/git.git/commit
quote: rename misnamed sq_lookup[] to cq_lookup[]
authorJunio C Hamano <gitster@pobox.com>
Thu, 10 Sep 2020 17:01:58 +0000 (10:01 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 10 Sep 2020 20:07:24 +0000 (13:07 -0700)
commitdfc7f65c261e923a41c910a11390d487e66eb6fe
tree7ad6fd17c85a6c8341f3d7cb1026aabafac0c2c0
parenta361dd3f798968b3be4bd10d0f4133dc1f48e50b
quote: rename misnamed sq_lookup[] to cq_lookup[]

This table is used to see if each byte needs quoting when responding
to a request to C-quote the string, not quoting with single-quote in
the shell style.  Similarly, sq_must_quote() is fed each byte from
the string being C-quoted.

No behaviour change intended.

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