]> git.99rst.org Git - git.git/commit
commit-graph: return if there is no git directory
authorLessley Dennington <redacted>
Mon, 6 Dec 2021 15:55:56 +0000 (15:55 +0000)
committerJunio C Hamano <redacted>
Mon, 6 Dec 2021 17:55:05 +0000 (09:55 -0800)
commit0803f9c7cdff63d0c6cb992ba90f53fdcae50869
treed35b40885086996a097775ad2f98b35cd3f563b1
parente5b17bda8b6c830aa65f8c52e08755cae5b815a1
commit-graph: return if there is no git directory

Return early if git directory does not exist. This will protect against
test failures in the upcoming change to BUG in prepare_repo_settings if no
git directory exists.

Signed-off-by: Lessley Dennington <redacted>
Reviewed-by: Elijah Newren <redacted>
Signed-off-by: Junio C Hamano <redacted>
commit-graph.c
git clone https://git.99rst.org/PROJECT