Cross Forests
/
projects
/
python
/
fast-export.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c2db22
)
Make --with-origin also work without origin :)
author
Simon Hausmann
<shausman@rhea.troll.no>
Fri, 25 May 2007 08:28:46 +0000
(10:28 +0200)
committer
Simon Hausmann
<shausman@rhea.troll.no>
Fri, 25 May 2007 08:28:46 +0000
(10:28 +0200)
git-p4
patch
|
blob
|
history
diff --git
a/git-p4
b/git-p4
index
e8a5c1f
..
30ee68c
100755
(executable)
--- a/
git-p4
+++ b/
git-p4
@@
-846,8
+846,9
@@
class P4Sync(Command):
self.refPrefix = "refs/heads/"
if self.syncWithOrigin:
- print "Syncing with origin first as requested by calling git fetch origin"
- system("git fetch origin")
+ if gitBranchExists("origin"):
+ print "Syncing with origin first as requested by calling git fetch origin"
+ system("git fetch origin")
createP4HeadRef = False;