]> git.ipfire.org Git - thirdparty/git.git/commit
setup: drop `setup_git_env()`
authorPatrick Steinhardt <ps@pks.im>
Tue, 26 May 2026 05:56:57 +0000 (07:56 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 26 May 2026 11:07:02 +0000 (20:07 +0900)
commit1904902386e37856d85585f9a4ab1f81090f7b64
tree32f4bbbe1d61795208317e01502e6c0a545606ca
parente7e9d4100102d68477f8b13c967e29828b568b7e
setup: drop `setup_git_env()`

The `setup_git_env()` function is a trivial wrapper around
`setup_git_env_internal()` and has a single call site only. Drop the
function.

While at it, drop stale documentation in "environment.h" that points to
this function, even though it hasn't been exposed to callers outside of
"setup.c" since 43ad1047a9 (setup: stop using `the_repository` in
`setup_git_env()`, 2026-03-27) anymore.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
environment.h
refs.c
setup.c