From: Zac Medico Date: Sun, 28 Dec 2008 20:37:04 +0000 (-0000) Subject: Inside git_sync_timestamps(), use git-diff-index for the same reason that X-Git-Tag: v2.2_rc21~62 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7ab25ab0b858e57878edc010770077f97948853e;p=portage.git 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 --- 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)