[gnome-code-assistance] Only read dependencies from index
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-code-assistance] Only read dependencies from index
- Date: Sat, 10 Jan 2015 14:04:23 +0000 (UTC)
commit 051b058a4153cdf717e7c172f434a1cbcb8bd937
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Sat Jan 10 15:03:59 2015 +0100
Only read dependencies from index
backends/json/mkdeps.py | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/backends/json/mkdeps.py b/backends/json/mkdeps.py
index d39fbf5..418ed2e 100644
--- a/backends/json/mkdeps.py
+++ b/backends/json/mkdeps.py
@@ -4,10 +4,8 @@ import subprocess, os, re
perdir = {}
-rethead = subprocess.check_output(['git', 'ls-tree', 'HEAD', '--name-only', '-r', '--',
'deps']).decode('utf-8').splitlines()
-retindex = subprocess.check_output(['git', 'ls-files', '--', 'deps']).decode('utf-8').splitlines()
+ret = subprocess.check_output(['git', 'ls-files', '--', 'deps']).decode('utf-8').splitlines()
-ret = rethead + retindex
seen = {}
for r in ret:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]