Merge branch 'ab/env-array'

Rename .env_array member to .env in the child_process structure.

* ab/env-array:
  run-command API users: use "env" not "env_array" in comments & names
  run-command API: rename "env_array" to "env"
This commit is contained in:
Junio C Hamano
2022-06-10 15:04:13 -07:00
25 changed files with 127 additions and 125 deletions

View File

@ -838,7 +838,7 @@ static void fill_alternate_refs_command(struct child_process *cmd,
}
}
strvec_pushv(&cmd->env_array, (const char **)local_repo_env);
strvec_pushv(&cmd->env, (const char **)local_repo_env);
cmd->out = -1;
}