Commit 9809d4a
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>1 parent 798ddd9 commit 9809d4a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3725 | 3725 | | |
3726 | 3726 | | |
3727 | 3727 | | |
3728 | | - | |
3729 | 3728 | | |
3730 | 3729 | | |
3731 | 3730 | | |
3732 | 3731 | | |
3733 | 3732 | | |
3734 | 3733 | | |
3735 | 3734 | | |
| 3735 | + | |
3736 | 3736 | | |
3737 | 3737 | | |
3738 | 3738 | | |
| |||
0 commit comments