diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-06-06 20:49:18 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-06-07 14:01:28 +0300 |
commit | 4c5fe206eff86e80a4c41977320db67e2779fc32 (patch) | |
tree | b1ee6bb7ed04f397ab4cdbc78ba22d1b52f1b760 /bpkg/pkg-checkout.cxx | |
parent | 00cda575c97494d1b6caf2d05ea8a1f8e848cd8a (diff) |
Verify symlinks in git repository worktree
Diffstat (limited to 'bpkg/pkg-checkout.cxx')
-rw-r--r-- | bpkg/pkg-checkout.cxx | 3 |
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; } |