diff options
author | Lessley Dennington <lessleydennington@gmail.com> | 2021-12-06 15:55:58 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-12-06 09:55:06 -0800 |
commit | 44c7e62e51e504c060844360fc56b613cfc1beea (patch) | |
tree | 8dea9c7de0b8a57692b85e862c0f09bc760a7a31 /commit-reach.h | |
parent | test-read-cache: set up repo after git directory (diff) | |
download | tgif-44c7e62e51e504c060844360fc56b613cfc1beea.tar.xz |
repo-settings: prepare_repo_settings only in git repos
Check whether git directory exists before adding any repo settings. If it
does not exist, BUG with the message that one cannot add settings for an
uninitialized repository. If it does exist, proceed with adding repo
settings.
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-reach.h')
0 files changed, 0 insertions, 0 deletions