mirror of
https://github.com/git/git.git
synced 2024-10-31 06:17:56 +01:00
Merge branch 'rs/receive-pack-cleanup'
Code clean-up. * rs/receive-pack-cleanup: receive-pack: call string_list_clear() unconditionally
This commit is contained in:
commit
140d41ae87
1 changed files with 1 additions and 2 deletions
|
@ -1942,8 +1942,7 @@ int cmd_receive_pack(int argc, const char **argv, const char *prefix)
|
|||
run_receive_hook(commands, "post-receive", 1,
|
||||
&push_options);
|
||||
run_update_post_hook(commands);
|
||||
if (push_options.nr)
|
||||
string_list_clear(&push_options, 0);
|
||||
string_list_clear(&push_options, 0);
|
||||
if (auto_gc) {
|
||||
const char *argv_gc_auto[] = {
|
||||
"gc", "--auto", "--quiet", NULL,
|
||||
|
|
Loading…
Reference in a new issue