git: fix FillEmptyDirectories (somewhat)
This commit is contained in:
parent
ffaaaf0123
commit
58926c4715
|
@ -516,7 +516,7 @@ namespace SparkleLib {
|
||||||
private void FillEmptyDirectories (string path)
|
private void FillEmptyDirectories (string path)
|
||||||
{
|
{
|
||||||
foreach (string child_path in Directory.GetDirectories (path)) {
|
foreach (string child_path in Directory.GetDirectories (path)) {
|
||||||
if (path.EndsWith (".git") || path.EndsWith (".notes"))
|
if (child_path.EndsWith (".git") || child_path.EndsWith (".notes"))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
FillEmptyDirectories (child_path);
|
FillEmptyDirectories (child_path);
|
||||||
|
|
Loading…
Reference in a new issue