These are taken from https://github.com/pclouds/git/commits/fopen-or-warn cf. <CACsJy8CzgHc=qe5w=FGJJ=ZU0a+JiqBrjWHV7SH3rAPKmOOKoA@xxxxxxxxxxxxxx> with a few bits salvaged from its v2 version. Ramsay Jones (1): git_fopen: fix a sparse 'not declared' warning Nguyễn Thái Ngọc Duy (9): use xfopen() in more places clone: use xfopen() instead of fopen() config.mak.uname: set FREAD_READS_DIRECTORIES for Linux and FreeBSD wrapper.c: add and use warn_on_fopen_errors() wrapper.c: add and use fopen_or_warn() wrapper.c: make warn_on_inaccessible() static print errno when reporting a system call error rerere.c: move error_errno() closer to the source system call log: fix memory leak in open_next_file() Junio C Hamano (3): config.mak.uname: set FREAD_READS_DIRECTORIES for Darwin, too wrapper: factor out is_missing_file_error() is_missing_file_error(): work around EINVAL on Windows Patches 12 & 13 are my attempt to answer the issue the series had on Windows. cf. <xmqq37bseddy.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxx> attr.c | 7 ++----- bisect.c | 7 ++----- builtin/am.c | 8 ++------ builtin/blame.c | 2 +- builtin/clone.c | 2 +- builtin/commit.c | 5 +---- builtin/fast-export.c | 4 +--- builtin/fsck.c | 3 +-- builtin/log.c | 11 ++++++++--- builtin/merge.c | 4 +--- builtin/pull.c | 3 +-- commit.c | 2 +- compat/fopen.c | 4 ++-- config.c | 5 ++++- config.mak.uname | 4 ++++ diff.c | 8 ++------ dir.c | 6 +++--- fast-import.c | 4 +--- git-compat-util.h | 15 +++++++++------ ident.c | 8 +++----- remote-testsvn.c | 8 ++------ remote.c | 4 ++-- rerere.c | 7 ++++--- sequencer.c | 8 ++++---- server-info.c | 2 +- t/t1308-config-set.sh | 13 ++++++++++++- t/t5512-ls-remote.sh | 13 ++++++++++--- wrapper.c | 49 ++++++++++++++++++++++++++++++++++++++++++++----- wt-status.c | 3 ++- xdiff-interface.c | 4 ++-- 30 files changed, 133 insertions(+), 90 deletions(-) -- 2.13.0-491-g71cfeddc25