Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/renormalize-merge-kill-safer-crlf'
[gitweb.git]
/
merge-recursive.c
diff --git
a/merge-recursive.c
b/merge-recursive.c
index c07ba0df9d908782d6001c9c9c4aab2a0036b9a8..23d6992f4037b37a9c3e133001af16595e8da394 100644
(file)
--- a/
merge-recursive.c
+++ b/
merge-recursive.c
@@
-235,6
+235,8
@@
static int add_cacheinfo(struct merge_options *o,
struct cache_entry *nce;
nce = refresh_cache_entry(ce, CE_MATCH_REFRESH | CE_MATCH_IGNORE_MISSING);
+ if (!nce)
+ return err(o, _("addinfo_cache failed for path '%s'"), path);
if (nce != ce)
ret = add_cache_entry(nce, options);
}