From 123c4b8c86cb927db414feef8257936ba8b25bea Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 12 Jan 2009 08:01:45 +0000 Subject: 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 --- pym/_emerge/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym/_emerge/__init__.py') 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) -- cgit v1.2.3-1-g7c22