projects
/
invirt/scripts/git-migration.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
492d83f
)
Apparently git ls-files shows the status of the index, which doesn't
author
Evan Broder
<broder@mit.edu>
Thu, 25 Dec 2008 04:33:26 +0000
(23:33 -0500)
committer
Evan Broder
<broder@mit.edu>
Thu, 25 Dec 2008 04:33:26 +0000
(23:33 -0500)
change after git reset --soft
svn path=/trunk/scripts/git-migration/; revision=1891
git-migrate
patch
|
blob
|
history
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.
- p = subprocess.Popen(['git', 'ls-files'],
+ p = subprocess.Popen(['git', 'ls-tree', 'HEAD'],
cwd='%s.git' % pkg,
stdout=subprocess.PIPE)
p.wait()