From: Jeff King Date: Sun, 31 Jan 2016 11:25:26 +0000 (-0500) Subject: give "nbuf" strbuf a more meaningful name X-Git-Tag: v2.8.0-rc0~59^2~5 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/0d4cc1b45bf063b3a46654098a9fb85f82f386a7?hp=0d4cc1b45bf063b3a46654098a9fb85f82f386a7 give "nbuf" strbuf a more meaningful name It's a common pattern in our code to read paths from stdin, separated either by newlines or NULs, and unquote as necessary. In each of these five cases we use "nbuf" to temporarily store the unquoted value. Let's give it the more meaningful name "unquoted", which makes it easier to understand the purpose of the variable. While we're at it, let's also static-initialize all of our strbufs. It's not wrong to call strbuf_init, but it increases the cognitive load on the reader, who might wonder "do we sometimes avoid initializing them? why?". Signed-off-by: Jeff King Signed-off-by: Junio C Hamano ---