From 853e41475e6bf0abe0360ad6827f198041ecc9ce Mon Sep 17 00:00:00 2001 From: Marius Storm-Olsen Date: Thu, 7 Jun 2007 15:28:04 +0200 Subject: [PATCH] Exclude the HEAD symbolic ref from the list of known branches --- git-p4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-p4 b/git-p4 index ad023f2..965b391 100755 --- a/git-p4 +++ b/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: -- 2.11.0