Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Nguyễn Thái Ngọc Duy 2016-05-08 16:47:43 +07:00 коммит произвёл Junio C Hamano
Родитель a1f06be3ff
Коммит 9f9a522c15
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -63,7 +63,6 @@ int launch_editor(const char *path, struct strbuf *buffer, const char *const *en
if (!buffer)
return 0;
if (strbuf_read_file(buffer, path, 0) < 0)
return error("could not read file '%s': %s",
path, strerror(errno));
return error_errno("could not read file '%s'", path);
return 0;
}