projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abcd790
)
Oops, fix --with-origin to /really/ also call git fetch :)
author
Simon Hausmann
<simon@lst.de>
Thu, 24 May 2007 20:28:28 +0000
(22:28 +0200)
committer
Simon Hausmann
<simon@lst.de>
Thu, 24 May 2007 20:28:28 +0000
(22:28 +0200)
Signed-off-by: Simon Hausmann <simon@lst.de>
contrib/fast-import/git-p4
patch
|
blob
|
history
diff --git
a/contrib/fast-import/git-p4
b/contrib/fast-import/git-p4
index 0597daa8491f3c4604448fded7f75bf7db95d203..08af23f9fd23e113c13b55ce2cd62803c27b89ae 100755
(executable)
--- a/
contrib/fast-import/git-p4
+++ b/
contrib/fast-import/git-p4
@@
-841,6
+841,10
@@
class P4Sync(Command):
else:
self.refPrefix = "refs/heads/"
+ if self.syncWithOrigin:
+ print "Syncing with origin first as requested by calling git fetch origin"
+ system("git fetch origin")
+
createP4HeadRef = False;
if len(self.branch) == 0: