diff options
| author | Victoria Dye <vdye@github.com> | 2022-08-18 21:40:49 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-08-18 21:35:32 -0700 |
| commit | 9b24bb9205e62464c09882e626d17710fb62b82d (patch) | |
| tree | af9fa38493d302e68cf6f2807f2e0e23dd4a9ff3 /commit-graph.h | |
| parent | d2a79bc953375ed7dd8cb06fd3db92f85c64c206 (diff) | |
scalar-delete: do not 'die()' in 'delete_enlistment()'
Rather than exiting with 'die()' when 'delete_enlistment()' encounters an
error, return an error code with the appropriate message. There's no need
for an abrupt exit with 'die()' in 'delete_enlistment()' because its only
caller ('cmd_delete()') properly cleans up allocated resources and returns
the 'delete_enlistment()' return value as its own exit code.
Signed-off-by: Victoria Dye <vdye@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.h')
0 files changed, 0 insertions, 0 deletions
