diff: diff_aligned_abbrev: remove ellipsis after abbreviated SHA-1 value
[gitweb.git] / diff-lib.c
index af4f1b7865d9587e304ba099b7e843b1c5a29a7c..d2ea02f4d7c9074aff577d9529640315db9c5af7 100644 (file)
@@ -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;