diff options
author | Lars Hjemli <hjemli@gmail.com> | 2007-02-05 06:55:19 (JST) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-02-05 06:55:19 (JST) |
commit | 8fb2f056961e577a039ae185d89ab8e2d2840b9e (patch) | |
tree | a009aca3c52dd134faa48181daede79bd930f9a4 /git.h | |
parent | ce1c7336e5b3e3ebe8f8c9029c405aedec98c208 (diff) | |
download | cgit-8fb2f056961e577a039ae185d89ab8e2d2840b9e.zip cgit-8fb2f056961e577a039ae185d89ab8e2d2840b9e.tar.gz |
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>
Diffstat (limited to 'git.h')
-rw-r--r-- | git.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -278,6 +278,10 @@ struct object { | |||
278 | }; | 278 | }; |
279 | 279 | ||
280 | 280 | ||
281 | /** Returns the object, having parsed it to find out what it is. **/ | ||
282 | struct object *parse_object(const unsigned char *sha1); | ||
283 | |||
284 | |||
281 | /* | 285 | /* |
282 | * from git:tree.h | 286 | * from git:tree.h |
283 | */ | 287 | */ |