summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-12-28 20:37:04 +0000
committerZac Medico <zmedico@gentoo.org>2008-12-28 20:37:04 +0000
commit7ab25ab0b858e57878edc010770077f97948853e (patch)
treee0358847d907dfbbcda5935fe0062ec7e1b1c6dd
parenta16ade2ad496c3716fd551a460c06eef67fc1ca6 (diff)
downloadportage-7ab25ab0b858e57878edc010770077f97948853e.tar.gz
portage-7ab25ab0b858e57878edc010770077f97948853e.tar.bz2
portage-7ab25ab0b858e57878edc010770077f97948853e.zip
Inside git_sync_timestamps(), use git-diff-index for the same reason that
repoman now uses it since bug #252727. svn path=/main/trunk/; revision=12360
-rw-r--r--pym/_emerge/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index c03e60825..70509ef10 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -12281,7 +12281,7 @@ def git_sync_timestamps(settings, portdir):
return 1
args = [portage.const.BASH_BINARY, "-c",
- "cd %s && git ls-files -m --with-tree=HEAD" % \
+ "cd %s && git diff-index --name-only --diff-filter=M HEAD" % \
portage._shell_quote(portdir)]
import subprocess
proc = subprocess.Popen(args, stdout=subprocess.PIPE)