Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
builtin/fetch cleanup: always set default value for submodule recursing
[gitweb.git]
/
commit.c
diff --git
a/commit.c
b/commit.c
index 713f09feb04116fc1529cbca1ca9cbd38e4e4379..99846d9bf467be8e737341795054588475c65855 100644
(file)
--- a/
commit.c
+++ b/
commit.c
@@
-168,7
+168,7
@@
struct commit_graft *read_graft_line(char *buf, int len)
static int read_graft_file(const char *graft_file)
{
- FILE *fp = fopen(graft_file, "r");
+ FILE *fp = fopen
_or_warn
(graft_file, "r");
struct strbuf buf = STRBUF_INIT;
if (!fp)
return -1;