From bfacfe92eefc2420f3b7e81d25cf39e65d71e7c8 Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Wed, 24 Dec 2008 23:33:26 -0500 Subject: [PATCH 1/1] Apparently git ls-files shows the status of the index, which doesn't change after git reset --soft svn path=/trunk/scripts/git-migration/; revision=1891 --- git-migrate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-migrate b/git-migrate index 909a604..e968b62 100755 --- a/git-migrate +++ b/git-migrate @@ -27,7 +27,7 @@ def clonePackage(base, pkg): # Some of these repos have a rev where everything was deleted # as a result of the move. We don't want that rev to exist. - p = subprocess.Popen(['git', 'ls-files'], + p = subprocess.Popen(['git', 'ls-tree', 'HEAD'], cwd='%s.git' % pkg, stdout=subprocess.PIPE) p.wait() -- 1.7.9.5