diff options
Diffstat (limited to 'diff-lib.c')
-rw-r--r-- | diff-lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/diff-lib.c b/diff-lib.c index af4f1b7865..d2ea02f4d7 100644 --- a/diff-lib.c +++ b/diff-lib.c @@ -50,7 +50,7 @@ static int check_removed(const struct cache_entry *ce, struct stat *st) * a directory --- the blob was removed! */ if (!S_ISGITLINK(ce->ce_mode) && - resolve_gitlink_ref(ce->name, "HEAD", sub.hash)) + resolve_gitlink_ref(ce->name, "HEAD", &sub)) return 1; } return 0; |