From: Zac Medico Date: Mon, 12 Jan 2009 08:01:45 +0000 (-0000) Subject: Inside git_sync_timestamps(), use git-diff-index for the same reason that X-Git-Tag: v2.1.6.5~56 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=123c4b8c86cb927db414feef8257936ba8b25bea;p=portage.git Inside git_sync_timestamps(), use git-diff-index for the same reason that repoman now uses it since bug #252727. (trunk r12360) svn path=/main/branches/2.1.6/; revision=12431 --- diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index c53c819e8..1d87320e8 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -12105,7 +12105,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)