diff options
author | Marius Storm-Olsen <mstormo_git@storm-olsen.com> | 2007-06-07 15:28:04 +0200 |
---|---|---|
committer | Marius Storm-Olsen <mstormo_git@storm-olsen.com> | 2007-06-07 15:28:04 +0200 |
commit | c4b33253c221d928f3edde71123a44765495b31a (patch) | |
tree | 4afd7eb1e08a262a28c22bfbad3341a83b0d6ec4 | |
parent | db775559c2d866de895cc36532ddff6b1ebbeda9 (diff) | |
download | git-c4b33253c221d928f3edde71123a44765495b31a.tar.gz git-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>
-rwxr-xr-x | contrib/fast-import/git-p4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/fast-import/git-p4 b/contrib/fast-import/git-p4 index ad023f203..965b391cd 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: |