From 8fb2f056961e577a039ae185d89ab8e2d2840b9e Mon Sep 17 00:00:00 2001
From: Lars Hjemli
Date: Sun, 4 Feb 2007 22:55:19 +0100
Subject: Add support for lightweight tags

There is nothing bad about a tag that has no tag-object, but the old code
didn't handle such tags correctly. Fix it.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
---
 git.h | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'git.h')

diff --git a/git.h b/git.h
index 991eaa5..eca48d5 100644
--- a/git.h
+++ b/git.h
@@ -278,6 +278,10 @@ struct object {
 };
 
 
+/** Returns the object, having parsed it to find out what it is. **/
+struct object *parse_object(const unsigned char *sha1);
+
+
 /*
  * from git:tree.h
  */
-- 
cgit v1.2.3-54-g00ecf