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 /git-gui/lib/diff.tcl | |
| parent | ea6ae410bedd6eee1968d24aa267b22ce7a0305a (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 'git-gui/lib/diff.tcl')
0 files changed, 0 insertions, 0 deletions
