aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-checkout.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/pkg-checkout.cxx')
-rw-r--r--bpkg/pkg-checkout.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/bpkg/pkg-checkout.cxx b/bpkg/pkg-checkout.cxx
index d5b4837..6c6dcf8 100644
--- a/bpkg/pkg-checkout.cxx
+++ b/bpkg/pkg-checkout.cxx
@@ -74,6 +74,9 @@ namespace bpkg
{
case repository_type::git:
{
+ if (!revert && !ie)
+ git_verify_symlinks (o, dir);
+
r = git_fixup_worktree (o, dir, revert, ie);
break;
}