summaryrefslogtreecommitdiffstats
path: root/commit.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-11-03 15:45:36 -0800
committerJunio C Hamano <junkio@cox.net>2005-11-03 15:45:36 -0800
commit6ddc0964034342519a87fe013781abf31c6db6ad (patch)
tree74cc863556a42d41e2bf8dec45e6fd33ed312228 /commit.c
parentGIT 0.99.9b (diff)
parentIllustration: "Commit DAG Revision Naming" (diff)
downloadgit-6ddc0964034342519a87fe013781abf31c6db6ad.tar.gz
git-6ddc0964034342519a87fe013781abf31c6db6ad.zip
GIT 0.99.9cv0.99.9c
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'commit.c')
-rw-r--r--commit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commit.c b/commit.c
index 8f403180e5..a8c9bfc8ba 100644
--- a/commit.c
+++ b/commit.c
@@ -55,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;