projects
/
invirt/scripts/git-migration.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Apparently git ls-files shows the status of the index, which doesn't
[invirt/scripts/git-migration.git]
/
git-migrate
diff --git
a/git-migrate
b/git-migrate
index
909a604
..
e968b62
100755
(executable)
--- 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.
# 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()
cwd='%s.git' % pkg,
stdout=subprocess.PIPE)
p.wait()