aboutsummaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-21 11:21:33 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-21 11:21:33 -0700
commitb2c007186786c39693d42d18a1e491aa2e7defce (patch)
treef16f205c3ac0e22b6a86f7d807ac549f9fac712b /commit.c
parentbb233d690a9782e1570dc93ead2bf04aaca7cfe4 (diff)
downloadgit-b2c007186786c39693d42d18a1e491aa2e7defce.tar.gz
git-b2c007186786c39693d42d18a1e491aa2e7defce.tar.xz
Include <limits.h> in commit.c for ULONG_MAX. Remove old "revision.h".
The old revision.h helper header isn't used any more, but I never noticed it until I started grepping for ULONG_MAX users.
Diffstat (limited to 'commit.c')
-rw-r--r--commit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/commit.c b/commit.c
index eda45d7e1..9f0668eb6 100644
--- a/commit.c
+++ b/commit.c
@@ -1,6 +1,7 @@
#include "commit.h"
#include "cache.h"
#include <string.h>
+#include <limits.h>
const char *commit_type = "commit";