repo git: Don't follow symlinks when preparing the tree. Fixes #701
This commit is contained in:
parent
5829bf4622
commit
145e8fe01d
|
@ -722,6 +722,9 @@ namespace SparkleLib.Git {
|
|||
{
|
||||
try {
|
||||
foreach (string child_path in Directory.GetDirectories (path)) {
|
||||
if (SparkleHelpers.IsSymlink (child_path))
|
||||
continue;
|
||||
|
||||
if (child_path.EndsWith (".git")) {
|
||||
if (child_path.Equals (Path.Combine (LocalPath, ".git")))
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue