diff options
| author | Taylor Blau <me@ttaylorr.com> | 2025-06-23 18:32:27 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-06-23 15:41:37 -0700 |
| commit | 63195f013b845b02063b21162fa60fcfb8b631ef (patch) | |
| tree | b5ad39100621f7a0e96fea057a242ecdb0073d2d /builtin/commit.c | |
| parent | pack-objects: fix typo in 'show_object_pack_hint()' (diff) | |
| download | git-63195f013b845b02063b21162fa60fcfb8b631ef.tar.gz git-63195f013b845b02063b21162fa60fcfb8b631ef.zip | |
pack-objects: swap 'show_{object,commit}_pack_hint'
show_commit_pack_hint() has heretofore been a noop, so its position
within its compilation unit only needs to appear before its first use.
But the following commit will sometimes have `show_commit_pack_hint()`
call `show_object_pack_hint()`, so reorder the former to appear after
the latter to minimize the code movement in that patch.
Suggested-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
