aboutsummaryrefslogtreecommitdiffstats
path: root/worktree_darwin.go
diff options
context:
space:
mode:
authorFelix Kollmann <fk@konsorten.de>2018-03-12 15:03:36 +0100
committerFelix Kollmann <fk@konsorten.de>2018-03-12 15:03:36 +0100
commit4915f5834dbb588836ad787e728cf4a81364f5af (patch)
tree9c39915df072451fbfde8da2367765797e50bafb /worktree_darwin.go
parent1d28459504251497e0ce6132a0fadd5eb44ffd22 (diff)
downloadgo-git-4915f5834dbb588836ad787e728cf4a81364f5af.tar.gz
Added support for non-symlink checkouts on Windows when elevated rights are missing
This implementation mimicks the behavior of Git on Windows Signed-off-by: Felix Kollmann <mail@fkollmann.de>
Diffstat (limited to 'worktree_darwin.go')
-rw-r--r--worktree_darwin.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/worktree_darwin.go b/worktree_darwin.go
index 8eaffde..3b374c7 100644
--- a/worktree_darwin.go
+++ b/worktree_darwin.go
@@ -20,3 +20,7 @@ func init() {
}
}
}
+
+func isSymlinkWindowsNonAdmin(err error) bool {
+ return false
+}