diff options
| author | Lessley Dennington <lessleydennington@gmail.com> | 2021-12-06 15:55:55 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2021-12-06 09:55:05 -0800 |
| commit | e5b17bda8b6c830aa65f8c52e08755cae5b815a1 (patch) | |
| tree | 0f70af3e540bd833b29d9e4b8f45b858452cc0a5 /commit-graph.c | |
| parent | Merge branch 'vd/sparse-reset' into ld/sparse-diff-blame (diff) | |
| download | git-e5b17bda8b6c830aa65f8c52e08755cae5b815a1.tar.gz git-e5b17bda8b6c830aa65f8c52e08755cae5b815a1.zip | |
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
