mirror of
https://github.com/git/git.git
synced 2024-11-28 04:23:30 +08:00
ad6dad0996
In previous patches, extern was mechanically removed from function declarations without care to formatting, causing parameter lists to be misaligned. Manually format changed sections such that the parameter lists should be realigned. Viewing this patch with 'git diff -w' should produce no output. Signed-off-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
24 lines
676 B
C
24 lines
676 B
C
#ifndef TAG_H
|
|
#define TAG_H
|
|
|
|
#include "object.h"
|
|
|
|
extern const char *tag_type;
|
|
|
|
struct tag {
|
|
struct object object;
|
|
struct object *tagged;
|
|
char *tag;
|
|
timestamp_t date;
|
|
};
|
|
struct tag *lookup_tag(struct repository *r, const struct object_id *oid);
|
|
int parse_tag_buffer(struct repository *r, struct tag *item, const void *data, unsigned long size);
|
|
int parse_tag(struct tag *item);
|
|
void release_tag_memory(struct tag *t);
|
|
struct object *deref_tag(struct repository *r, struct object *, const char *, int);
|
|
struct object *deref_tag_noverify(struct object *);
|
|
int gpg_verify_tag(const struct object_id *oid,
|
|
const char *name_to_report, unsigned flags);
|
|
|
|
#endif /* TAG_H */
|