Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@xxxxxxxxx> --- rerere.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rerere.c b/rerere.c index 3bd55caf3b..ef9b11578f 100644 --- a/rerere.c +++ b/rerere.c @@ -202,8 +202,11 @@ static void read_rr(struct string_list *rr) struct strbuf buf = STRBUF_INIT; FILE *in = fopen(git_path_merge_rr(), "r"); - if (!in) + if (!in) { + if (errno != ENOENT) + warn_on_inaccessible(git_path_merge_rr()); return; + } while (!strbuf_getwholeline(&buf, in, '\0')) { char *path; unsigned char sha1[20]; -- 2.11.0.157.gd943d85