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 /contrib | |
parent | Fix single branch import into remotes (diff) | |
download | tgif-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-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 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: |