summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLibravatar Marius Storm-Olsen <mstormo_git@storm-olsen.com>2007-06-07 15:28:04 +0200
committerLibravatar Marius Storm-Olsen <mstormo_git@storm-olsen.com>2007-06-07 15:28:04 +0200
commitc4b33253c221d928f3edde71123a44765495b31a (patch)
tree4afd7eb1e08a262a28c22bfbad3341a83b0d6ec4 /contrib
parentFix single branch import into remotes (diff)
downloadtgif-c4b33253c221d928f3edde71123a44765495b31a.tar.xz
Exclude the HEAD symbolic ref from the list of known branches
Signed-off-by: Marius Storm-Olsen <mstormo_git@storm-olsen.com>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/fast-import/git-p42
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/fast-import/git-p4 b/contrib/fast-import/git-p4
index ad023f203c..965b391cda 100755
--- a/contrib/fast-import/git-p4
+++ b/contrib/fast-import/git-p4
@@ -934,7 +934,7 @@ class P4Sync(Command):
line = line.strip()
## only import to p4/
- if not line.startswith('p4/'):
+ if not line.startswith('p4/') or line == "p4/HEAD":
continue
branch = line
if self.importIntoRemotes: