]> git.99rst.org Git - git.git/commit
setup.c: introduce `die_upon_dubious_ownership()`
authorPatrick Steinhardt <redacted>
Mon, 15 Apr 2024 11:30:36 +0000 (13:30 +0200)
committerJohannes Schindelin <redacted>
Tue, 16 Apr 2024 22:01:26 +0000 (00:01 +0200)
commit8c9c051bef3db0fe267f3fb6a1dab293c5f23b38
tree2de8610d3fa204f0aa0bcb62d5a9a356ffd94b7a
parentd1bb66a546b4bb46005d17ba711caaad26f26c1e
setup.c: introduce `die_upon_dubious_ownership()`

Introduce a new function `die_upon_dubious_ownership()` that uses
`ensure_valid_ownership()` to verify whether a repositroy is safe for
use, and causes Git to die in case it is not.

This function will be used in a subsequent commit.

Helped-by: Johannes Schindelin <redacted>
Signed-off-by: Patrick Steinhardt <redacted>
Signed-off-by: Johannes Schindelin <redacted>
cache.h
setup.c
git clone https://git.99rst.org/PROJECT