diff options
Diffstat (limited to 'src/commit.h')
| -rw-r--r-- | src/commit.h | 9 | 
1 files changed, 9 insertions, 0 deletions
diff --git a/src/commit.h b/src/commit.h index 05504cd34..1cdb9a4f4 100644 --- a/src/commit.h +++ b/src/commit.h @@ -5,11 +5,20 @@  #include <time.h> +#define GIT_COMMIT_SEEN     (1 << 0) +#define GIT_COMMIT_HIDE     (1 << 1) +#define GIT_COMMIT_DELAY    (1 << 2) +  struct git_commit {  	git_oid id;  	time_t commit_time; +    git_revpool *pool;  	unsigned parsed:1,  		 flags:26;  }; +int git_commit__parse_oid(git_oid *oid, char **buffer_out, const char *buffer_end, const char *header); +int git_commit__parse_buffer(git_commit *commit, void *data, size_t len); +int git_commit__parse_time(time_t *commit_time, char *buffer, const char *buffer_end); +  #endif  | 
