summaryrefslogtreecommitdiff
path: root/commit-graph.c
diff options
context:
space:
mode:
authorLessley Dennington <lessleydennington@gmail.com>2021-12-06 15:55:55 +0000
committerJunio C Hamano <gitster@pobox.com>2021-12-06 09:55:05 -0800
commite5b17bda8b6c830aa65f8c52e08755cae5b815a1 (patch)
tree0f70af3e540bd833b29d9e4b8f45b858452cc0a5 /commit-graph.c
parentea6ae410bedd6eee1968d24aa267b22ce7a0305a (diff)
git: ensure correct git directory setup with -h
Ensure correct git directory setup when -h is passed with commands. This specifically applies to repos with special help text configuration variables and to commands run with -h outside a repository. This will also protect against test failures in the upcoming change to BUG in prepare_repo_settings if no git directory exists. Note: this diff is better seen when ignoring whitespace changes. Co-authored-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Lessley Dennington <lessleydennington@gmail.com> Reviewed-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions