aboutsummaryrefslogtreecommitdiffstats
path: root/submodule.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-03-29 12:22:03 -0700
committerJunio C Hamano <gitster@pobox.com>2022-03-29 12:22:03 -0700
commit5fe35fcc790f6df1839ff984896f9d5e6710d012 (patch)
treec974a750116a6a13c9b53d40d447d7ee146d0bef /submodule.c
parentd62966735d0f2c9a632d34023336bc0387a4bd5a (diff)
parent2a69ff09d5654de31361365e3faf9f8495f03ed7 (diff)
downloadgit-5fe35fcc790f6df1839ff984896f9d5e6710d012.tar.gz
Merge branch 'jt/reset-grafts-when-resetting-shallow'
When "shallow" information is updated, we forgot to update the in-core equivalent, which has been corrected. * jt/reset-grafts-when-resetting-shallow: shallow: reset commit grafts when shallow is reset
Diffstat (limited to 'submodule.c')
-rw-r--r--submodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/submodule.c b/submodule.c
index 93c78a4dc3..86c8f0f89d 100644
--- a/submodule.c
+++ b/submodule.c
@@ -22,6 +22,7 @@
#include "parse-options.h"
#include "object-store.h"
#include "commit-reach.h"
+#include "shallow.h"
static int config_update_recurse_submodules = RECURSE_SUBMODULES_OFF;
static int initialized_fetch_ref_tips;