summaryrefslogtreecommitdiff
path: root/gitweb/static/js
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-09-17 12:08:06 +0200
committerJunio C Hamano <gitster@pobox.com>2024-09-17 13:53:30 -0700
commite73686f6e4a37183bff723ceff7cd74e50361fa8 (patch)
tree8bbfd71be56ddb36354e63cff4dc58e53cbf7eee /gitweb/static/js
parent6eff8b8f406f53ad3301263300016813f1d73c63 (diff)
apply: rename members that track line count and allocation length
The `struct image` has two members `nr` and `alloc` that track the number of lines as well as how large its array is. It is somewhat easy to confuse these members with `len` though, which tracks the length of the `buf` member. Rename these members to `line_nr` and `line_alloc` respectively to avoid confusion. This is in line with how we typically name variables that track an array in this way. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb/static/js')
0 files changed, 0 insertions, 0 deletions