summaryrefslogtreecommitdiff
path: root/archive.h
diff options
context:
space:
mode:
authorJeff Hostetler <jeffhost@microsoft.com>2019-04-29 20:14:22 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-05-07 01:13:54 (GMT)
commitf672deec2d56b0d7ae64ce3efd918e02efc58b9c (patch)
tree0bdddc479460ad2a9893646b41a9e3251b3e430f /archive.h
parent81567caf87c655ba13260bd66d8ec67b8d6e492b (diff)
downloadgit-f672deec2d56b0d7ae64ce3efd918e02efc58b9c.zip
git-f672deec2d56b0d7ae64ce3efd918e02efc58b9c.tar.gz
git-f672deec2d56b0d7ae64ce3efd918e02efc58b9c.tar.bz2
trace2: fixup access problem on /etc/gitconfig in read_very_early_config
Teach do_git_config_sequence() to optionally gently check for access to the system config. Use this option in read_very_early_config() when initializing trace2. In [1] SZEDER Gábor reported that my changes in [2] introduced a regression when the user does not have permission to read the system config. This commit addresses that problem by optionally ignoring that error. [1] https://public-inbox.org/git/285beb2b2d740ce20fdd8af1becf371ab39703db.1554995916.git.gitgitgadget@gmail.com/T/#m342e839289aec515523a98b5e34d7f42d3f1fd79 [2] https://public-inbox.org/git/285beb2b2d740ce20fdd8af1becf371ab39703db.1554995916.git.gitgitgadget@gmail.com/T/#m11b59c9228c698442f750ee8f9b10c629399ae48 Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'archive.h')
0 files changed, 0 insertions, 0 deletions