summaryrefslogtreecommitdiff
path: root/builtin/submodule--helper.c
diff options
context:
space:
mode:
authorLibravatar Brandon Williams <bmwill@google.com>2018-05-16 15:57:48 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-05-18 06:19:41 +0900
commitec0cb496553ac82f97205a415ca77618406b30e3 (patch)
tree77a9fc47ed6ea5e08d424faa2776d4c6a9e1e636 /builtin/submodule--helper.c
parentThe fifth batch for 2.18 (diff)
downloadtgif-ec0cb496553ac82f97205a415ca77618406b30e3.tar.xz
refspec: move refspec parsing logic into its own file
In preparation for performing a refactor on refspec related code, move the refspec parsing logic into its own file. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/submodule--helper.c')
-rw-r--r--builtin/submodule--helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c
index c2403a915f..6ab032acb1 100644
--- a/builtin/submodule--helper.c
+++ b/builtin/submodule--helper.c
@@ -12,6 +12,7 @@
#include "run-command.h"
#include "remote.h"
#include "refs.h"
+#include "refspec.h"
#include "connect.h"
#include "revision.h"
#include "diffcore.h"