summaryrefslogtreecommitdiff
path: root/git-commit-script
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2026-07-07 09:21:28 +0200
committerJunio C Hamano <gitster@pobox.com>2026-07-07 10:49:41 -0700
commit0bf8e1464331c7d611a79e7355a3826969c00405 (patch)
treeade9c5545e07f53ac2ac10a3b1ca7b0dfa62b696 /git-commit-script
parent28f38f35a00f8f9de6358b1e5b32fc4f17de2f81 (diff)
setup: propagate prefix via repository discovery
In the preceding commits we have started to propagate all information required for the configuration of the repository via a new `struct repo_discovery`. The only exception is the repository's prefix, which we still return via the return parameter. This is conceptually fine, but somewhat inconsistent. Refactor this to instead propagate the prefix via the repository discovery, too. While at it, drop a static variable in `repo_discover_bare_gitdir()`. We apply its value to the repository discovery anyway, so we don't have to keep it around afterwards anymore. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-commit-script')
0 files changed, 0 insertions, 0 deletions