* Now also adds directories to the index (before only in non-recursive mode).

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30609 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2009-05-03 15:28:54 +00:00
parent 866aafc015
commit e12b8d6ddf
+3 -2
View File
@@ -175,7 +175,8 @@ handleFile(BEntry *entry, BNode *node)
BNode innerNode; BNode innerNode;
handleFile(&entryIterator, &innerNode); handleFile(&entryIterator, &innerNode);
} }
return;
// also rewrite the attributes of the directory
} }
char name[B_FILE_NAME_LENGTH]; char name[B_FILE_NAME_LENGTH];
@@ -347,7 +348,7 @@ main(int argc, char **argv)
while (*++argv) { while (*++argv) {
BEntry entry(*argv); BEntry entry(*argv);
BNode node; BNode node;
if (entry.InitCheck() == B_OK) { if (entry.InitCheck() == B_OK) {
if (gFromVolume) if (gFromVolume)