[gnome-code-assistance] Only check files in index for generating makefile
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-code-assistance] Only check files in index for generating makefile
- Date: Sat, 10 Jan 2015 13:10:10 +0000 (UTC)
commit 06ff53acca28f1f21b042e86c01a8d636abc3b95
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Sat Jan 10 13:47:03 2015 +0100
Only check files in index for generating makefile
backends/css/mkdeps.py | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/backends/css/mkdeps.py b/backends/css/mkdeps.py
index 8c70653..4c0076e 100644
--- a/backends/css/mkdeps.py
+++ b/backends/css/mkdeps.py
@@ -4,10 +4,7 @@ import subprocess, os, re
perdir = {}
-rethead = subprocess.check_output(['git', 'ls-tree', 'HEAD', '--name-only', '-r', '--',
'gems']).decode('utf-8').splitlines()
-retindex = subprocess.check_output(['git', 'ls-files', '--', 'gems']).decode('utf-8').splitlines()
-
-ret = rethead + retindex
+ret = subprocess.check_output(['git', 'ls-files', '--', 'gems']).decode('utf-8').splitlines()
seen = {}
for r in ret:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]