summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2012-05-19 10:48:15 -0700
committerVicent Martí <tanoku@gmail.com>2012-05-19 10:48:15 -0700
commit7a361e93f39789e9523caeb3ef8754173165aab7 (patch)
tree6ed3431debb5ce5242cef5f2c0f54292baed7368 /src/commit.c
parentf7ed0c344713f5391fa7e63e7b432fde0896bf89 (diff)
parent54db1a18df8baca4e53be24a4bf8593d94abbd49 (diff)
downloadlibgit2-7a361e93f39789e9523caeb3ef8754173165aab7.tar.gz
Merge pull request #715 from schu/cleanup-misc
Cleanup
Diffstat (limited to 'src/commit.c')
-rw-r--r--src/commit.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/commit.c b/src/commit.c
index 2bf12f3a5..2f40dc67d 100644
--- a/src/commit.c
+++ b/src/commit.c
@@ -18,15 +18,6 @@
#include <stdarg.h>
-#define COMMIT_BASIC_PARSE 0x0
-#define COMMIT_FULL_PARSE 0x1
-
-#define COMMIT_PRINT(commit) {\
- char oid[41]; oid[40] = 0;\
- git_oid_fmt(oid, &commit->object.id);\
- printf("Oid: %s | In degree: %d | Time: %u\n", oid, commit->in_degree, commit->commit_time);\
-}
-
static void clear_parents(git_commit *commit)
{
unsigned int i;