aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-04-07 20:18:17 (GMT)
committerKaren Arutyunov <karen@codesynthesis.com>2020-04-07 20:18:17 (GMT)
commit53ea8e285ea71f089deaef438ac4914bda5947a3 (patch)
treee28a7cc98acd42c83bd71243d21887c0791def22
parent5e80472ba2599dbb2ec94623721f105dcdfed5ca (diff)
Fix fixup_worktree() to properly replace git's filesystem-agnostic symlinks with real symlinks
-rw-r--r--bpkg/fetch-git.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg/fetch-git.cxx b/bpkg/fetch-git.cxx
index bb39cc8..b7ff456 100644
--- a/bpkg/fetch-git.cxx
+++ b/bpkg/fetch-git.cxx
@@ -2430,7 +2430,7 @@ namespace bpkg
try
{
if (dir_target)
- mksymlink (tp, lp, true /* dir */);
+ mksymlink (t, lp, true /* dir */);
else
mkhardlink (tp, lp);
}