summaryrefslogtreecommitdiffstats
path: root/commit.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2017-05-03 12:16:49 +0200
committerJunio C Hamano <gitster@pobox.com>2017-05-26 05:33:55 +0200
commit11dc1fcb3fa53f5a46486daa7cb38ed387153f2e (patch)
tree98bf996bbac5e5c0b85ee1673a83d14a8ae0fbab /commit.c
parentconfig.mak.uname: set FREAD_READS_DIRECTORIES for Darwin, too (diff)
downloadgit-11dc1fcb3fa53f5a46486daa7cb38ed387153f2e.tar.xz
git-11dc1fcb3fa53f5a46486daa7cb38ed387153f2e.zip
wrapper.c: add and use warn_on_fopen_errors()
In many places, Git warns about an inaccessible file after a fopen() failed. To discern these cases from other cases where we want to warn about inaccessible files, introduce a new helper specifically to test whether fopen() failed because the current user lacks the permission to open file in question. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions