From 4c5fe206eff86e80a4c41977320db67e2779fc32 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 6 Jun 2022 20:49:18 +0300 Subject: Verify symlinks in git repository worktree --- bpkg/pkg-checkout.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bpkg/pkg-checkout.cxx') 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; } -- cgit v1.1