diff options
author | Michael Schubert <schu@schu.io> | 2012-05-19 15:20:55 +0400 |
---|---|---|
committer | Michael Schubert <schu@schu.io> | 2012-05-19 20:49:32 +0400 |
commit | 54db1a18df8baca4e53be24a4bf8593d94abbd49 (patch) | |
tree | 6ed3431debb5ce5242cef5f2c0f54292baed7368 /src/commit.c | |
parent | f7ed0c344713f5391fa7e63e7b432fde0896bf89 (diff) |
Cleanup
* indexer: remove leftover printf
* commit: remove unused macros COMMIT_BASIC_PARSE, COMMIT_FULL_PARSE
and COMMIT_PRINT
Diffstat (limited to 'src/commit.c')
-rw-r--r-- | src/commit.c | 9 |
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; |