[gitg] Do not follow symlinks on recursive scan
- From: Alberto Fanjul <albfan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Do not follow symlinks on recursive scan
- Date: Fri, 5 Jun 2020 22:40:07 +0000 (UTC)
commit c3f8106601f47e819bd1272a6c3b04f83693442c
Author: John Flood <john activsoft no>
Date: Fri Jun 5 20:57:14 2020 +0000
Do not follow symlinks on recursive scan
gitg/gitg-recursive-scanner.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gitg/gitg-recursive-scanner.vala b/gitg/gitg-recursive-scanner.vala
index f65674db..dd7bc999 100644
--- a/gitg/gitg-recursive-scanner.vala
+++ b/gitg/gitg-recursive-scanner.vala
@@ -52,7 +52,7 @@ interface RecursiveScanner : Object
try
{
e = yield location.enumerate_children_async(FileAttribute.STANDARD_NAME + "," +
FileAttribute.STANDARD_TYPE,
- FileQueryInfoFlags.NONE,
+ FileQueryInfoFlags.NOFOLLOW_SYMLINKS,
Priority.DEFAULT,
cancellable);
} catch { return; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]