summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5265bfc)
raw | patch | inline | side by side (parent: 5265bfc)
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>
Signed-off-by: Simon Hausmann <simon@lst.de>
contrib/fast-import/git-p4 | patch | blob | history |
index 88ea12cb37416a51e46e521bb5713f2906f756f0..d03ba0b6ad4c570e33d45538ee9e3ec84d18c4ef 100755 (executable)
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/"):]