summaryrefslogtreecommitdiff
path: root/builtin/rev-parse.c
diff options
context:
space:
mode:
authorDerrick Stolee <dstolee@microsoft.com>2018-07-20 16:33:04 +0000
committerJunio C Hamano <gitster@pobox.com>2018-07-20 15:38:54 -0700
commit6404355657fb3ec27668fb88c5175bb22aff3acc (patch)
treefe54e41041c355ae014cb00d9e513be157a15ac9 /builtin/rev-parse.c
parent5227c385667cadd3b34668329016755181fa98ea (diff)
downloadgit-6404355657fb3ec27668fb88c5175bb22aff3acc.tar.gz
commit.h: remove method declarations
These methods are now declared in commit-reach.h. Remove them from commit.h and add new include statements in all files that require these declarations. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/rev-parse.c')
-rw-r--r--builtin/rev-parse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/rev-parse.c b/builtin/rev-parse.c
index 0f09bbbf65..455f62246d 100644
--- a/builtin/rev-parse.c
+++ b/builtin/rev-parse.c
@@ -14,6 +14,7 @@
#include "revision.h"
#include "split-index.h"
#include "submodule.h"
+#include "commit-reach.h"
#define DO_REVS 1
#define DO_NOREV 2