diff options
author | Patrick Steinhardt <ps@pks.im> | 2024-09-17 12:08:06 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-09-17 13:53:30 -0700 |
commit | e73686f6e4a37183bff723ceff7cd74e50361fa8 (patch) | |
tree | 8bbfd71be56ddb36354e63cff4dc58e53cbf7eee /gitweb/static/js | |
parent | 6eff8b8f406f53ad3301263300016813f1d73c63 (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