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
(parent:
f7297e3
)
Newer versions of git are more clever.
author
Evan Broder
<broder@mit.edu>
Thu, 25 Dec 2008 04:33:24 +0000
(23:33 -0500)
committer
Evan Broder
<broder@mit.edu>
Thu, 25 Dec 2008 04:33:24 +0000
(23:33 -0500)
svn path=/trunk/scripts/git-migration/; revision=1888
git-migrate
patch
|
blob
|
history
diff --git
a/git-migrate
b/git-migrate
index
796f937
..
e61f380
100755
(executable)
--- a/
git-migrate
+++ b/
git-migrate
@@
-32,7
+32,7
@@
def clonePackage(base, pkg):
stdout=subprocess.PIPE)
p.wait()
if len(p.stdout.read()) == 0:
- subprocess.check_call(['git', 'reset', 'HEAD^'],
+ subprocess.check_call(['git', 'reset', '--soft', 'HEAD^'],
cwd='%s.git' % pkg)
def cloneAllPackages(base):