summaryrefslogtreecommitdiff
path: root/src/commit.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2010-05-28 00:23:43 +0200
committerAndreas Ericsson <ae@op5.se>2010-06-02 10:32:07 +0200
commit9b3577eda0e6bb13d18a304763b91665575adfd3 (patch)
treef89099c671ed8df50e040b7a62989b451366d084 /src/commit.h
parent0cf02ff92d5c08516ff2253f59daad1c4c582d8f (diff)
downloadlibgit2-9b3577eda0e6bb13d18a304763b91665575adfd3.tar.gz
Fixed brace placement and converted spaces to tabs.
Signed-off-by: Vicent Marti <tanoku@gmail.com> Signed-off-by: Andreas Ericsson <ae@op5.se>
Diffstat (limited to 'src/commit.h')
-rw-r--r--src/commit.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/commit.h b/src/commit.h
index e8d0c5322..c62b80f26 100644
--- a/src/commit.h
+++ b/src/commit.h
@@ -7,33 +7,33 @@
#include <time.h>
struct git_commit_node {
- struct git_commit *commit;
+ struct git_commit *commit;
- struct git_commit_node *next;
- struct git_commit_node *prev;
+ struct git_commit_node *next;
+ struct git_commit_node *prev;
};
struct git_commit_list {
- struct git_commit_node *head;
- struct git_commit_node *tail;
- size_t size;
+ struct git_commit_node *head;
+ struct git_commit_node *tail;
+ size_t size;
};
typedef struct git_commit_list git_commit_list;
typedef struct git_commit_node git_commit_node;
struct git_commit {
- git_revpool_object object;
+ git_revpool_object object;
- time_t commit_time;
- git_commit_list parents;
+ time_t commit_time;
+ git_commit_list parents;
- unsigned short in_degree;
- unsigned parsed:1,
- seen:1,
- uninteresting:1,
- topo_delay:1,
- flags:26;
+ unsigned short in_degree;
+ unsigned parsed:1,
+ seen:1,
+ uninteresting:1,
+ topo_delay:1,
+ flags:26;
};
int git_commit__parse_oid(git_oid *oid, char **buffer_out, const char *buffer_end, const char *header);