]> git.99rst.org Git - git.git/commit
setup: make repository discovery self-contained
authorPatrick Steinhardt <redacted>
Tue, 7 Jul 2026 07:21:29 +0000 (09:21 +0200)
committerJunio C Hamano <redacted>
Tue, 7 Jul 2026 17:49:41 +0000 (10:49 -0700)
commit2513a4d6f37144841cfd00183fce3dd8f5ba967d
treeac798a1a3f8667735a9c652c8002abf95f495690
parent0bf8e1464331c7d611a79e7355a3826969c00405
setup: make repository discovery self-contained

In the preceding commits we have introduced a separate repository
discovery phase and refactored the logic so that we have two clear
phases:

  1. Repository discovery, which doesn't modify the repository itself at
     all.

  2. Repository configuration, which takes the information we have
     discovered to set up the repository.

Extract the first phase into a new function `repo_discover()` to further
stress these two different phases.

Signed-off-by: Patrick Steinhardt <redacted>
Signed-off-by: Junio C Hamano <redacted>
setup.c
git clone https://git.99rst.org/PROJECT