repo git: Don't follow symlinks when preparing the tree. Fixes #701

This commit is contained in:
Hylke Bons 2012-04-17 19:00:05 +02:00
parent 5829bf4622
commit 145e8fe01d

View file

@ -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;