OSDN Git Service
(root)
/
git-core
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5265bfc
)
Fixed the check to make sure to exclude the HEAD symbolic refs when updating
author
Simon Hausmann
<simon@lst.de>
Sat, 9 Jun 2007 22:22:30 +0000
(
00:22
+0200)
committer
Simon Hausmann
<simon@lst.de>
Sat, 9 Jun 2007 22:22:30 +0000
(
00:22
+0200)
the remotes/p4 branches from origin.
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
88ea12c
..
d03ba0b
100755
(executable)
--- a/
contrib/fast-import/git-p4
+++ b/
contrib/fast-import/git-p4
@@
-962,7
+962,7
@@
class P4Sync(Command):
for line in read_pipe_lines("git rev-parse --symbolic --remotes"):
line = line.strip()
- if (not line.startswith("origin/")) or line.endswith("HEAD
\n
"):
+ if (not line.startswith("origin/")) or line.endswith("HEAD"):
continue
headName = line[len("origin/"):]