diff options
author | Taylor Blau <me@ttaylorr.com> | 2025-06-23 18:32:13 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-06-23 15:41:36 -0700 |
commit | 9809d4ae9f5b577e0afd18082b095414ce046c00 (patch) | |
tree | c5f1d1fe54ac1493d8a9bf2c7a5a2fd2919634f2 /git-gui/lib/commit.tcl | |
parent | 798ddd947ffe9d608d9aa5803dc7c409834e7159 (diff) |
pack-objects: limit scope in 'add_object_entry_from_pack()'
In add_object_entry_from_pack() we declare 'revs' (given to us through
the miscellaneous context argument) earlier in the "if (p)" conditional
than is necessary. Move it down as far as it can go to reduce its
scope.
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions