Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r12360 - main/trunk/pym/_emerge
Date: Sun, 28 Dec 2008 20:37:09
Message-Id: E1LH2Nm-0008Vm-2a@stork.gentoo.org
1 Author: zmedico
2 Date: 2008-12-28 20:37:04 +0000 (Sun, 28 Dec 2008)
3 New Revision: 12360
4
5 Modified:
6 main/trunk/pym/_emerge/__init__.py
7 Log:
8 Inside git_sync_timestamps(), use git-diff-index for the same reason that
9 repoman now uses it since bug #252727.
10
11
12 Modified: main/trunk/pym/_emerge/__init__.py
13 ===================================================================
14 --- main/trunk/pym/_emerge/__init__.py 2008-12-28 20:29:22 UTC (rev 12359)
15 +++ main/trunk/pym/_emerge/__init__.py 2008-12-28 20:37:04 UTC (rev 12360)
16 @@ -12281,7 +12281,7 @@
17 return 1
18
19 args = [portage.const.BASH_BINARY, "-c",
20 - "cd %s && git ls-files -m --with-tree=HEAD" % \
21 + "cd %s && git diff-index --name-only --diff-filter=M HEAD" % \
22 portage._shell_quote(portdir)]
23 import subprocess
24 proc = subprocess.Popen(args, stdout=subprocess.PIPE)