mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-07 14:48:23 +00:00

Using it in the first place means something's wrong. This patch replaces it with an internal header which carries the previously "protected" code instead. Internal source-files simply include "commit.h" and they're done. The internal header includes the public one to make sure we always use the proper prototype. Signed-off-by: Andreas Ericsson <ae@op5.se> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 lines
203 B
C
15 lines
203 B
C
#ifndef INCLUDE_commit_h__
|
|
#define INCLUDE_commit_h__
|
|
#include "git/commit.h"
|
|
|
|
#include <time.h>
|
|
|
|
struct git_commit {
|
|
git_oid id;
|
|
time_t commit_time;
|
|
unsigned parsed:1,
|
|
flags:26;
|
|
};
|
|
|
|
#endif
|