diff options
| author | Christian Couder <christian.couder@gmail.com> | 2023-10-02 18:54:58 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-10-02 14:54:29 -0700 |
| commit | ff8504e4ec5628edddb67f989256b7f2aea6c45d (patch) | |
| tree | edabaaac0a096a4f7ad24c6ccb1030fe4fd14202 /builtin/commit-graph.c | |
| parent | t/helper: add 'find-pack' test-tool (diff) | |
| download | git-ff8504e4ec5628edddb67f989256b7f2aea6c45d.tar.gz git-ff8504e4ec5628edddb67f989256b7f2aea6c45d.zip | |
repack: refactor finishing pack-objects command
Create a new finish_pack_objects_cmd() to refactor duplicated code
that handles reading the packfile names from the output of a
`git pack-objects` command and putting it into a string_list, as well as
calling finish_command().
While at it, beautify a code comment a bit in the new function.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-graph.c')
0 files changed, 0 insertions, 0 deletions
