Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'mp/for-each-ref-missing-name-or-email'
[gitweb.git]
/
diff.c
diff --git
a/diff.c
b/diff.c
index efe42b341ae15ebceb1e216518ab3a542be361dc..e28b463f5757e7dd56752702db13d8195a3d39bc 100644
(file)
--- a/
diff.c
+++ b/
diff.c
@@
-6512,6
+6512,7
@@
static void add_if_missing(struct repository *r,
const struct diff_filespec *filespec)
{
if (filespec && filespec->oid_valid &&
+ !S_ISGITLINK(filespec->mode) &&
oid_object_info_extended(r, &filespec->oid, NULL,
OBJECT_INFO_FOR_PREFETCH))
oid_array_append(to_fetch, &filespec->oid);