ls-files: --others should not say unmerged paths are unknown.
[gitweb.git] / commit.c
index f735f981bb2d4d7594e416bcb728ac06d09ebd0c..a8c9bfc8baf21a3d42164faa1577f74326b51df6 100644 (file)
--- a/commit.c
+++ b/commit.c
@@ -1,4 +1,3 @@
-#include <ctype.h>
 #include "tag.h"
 #include "commit.h"
 #include "cache.h"
@@ -56,7 +55,7 @@ static struct commit *check_commit(struct object *obj,
 struct commit *lookup_commit_reference_gently(const unsigned char *sha1,
                                              int quiet)
 {
-       struct object *obj = deref_tag(parse_object(sha1));
+       struct object *obj = deref_tag(parse_object(sha1), NULL, 0);
 
        if (!obj)
                return NULL;