Code

git-p4: Make 'git-p4 branches' work after an initial clone with git clone from an...
authorSimon Hausmann <simon@lst.de>
Fri, 24 Aug 2007 15:44:16 +0000 (17:44 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 25 Aug 2007 01:54:37 +0000 (18:54 -0700)
commit5ca4461728adadf22b5b8833693702ab09e556db
treebc44db53bfbd287b2b48e658bf17143e6e90732c
parent027830755d2972ab2201c53922ce402862a2bd80
git-p4: Make 'git-p4 branches' work after an initial clone with git clone from an origin-updated repository.

After a clone with "git clone" of a repository the p4 branches are only in remotes/origin/p4/* and not in remotes/p4/*.
Separate the code for detection and creation out of the P4Sync command class into standalone methods and use them
from the P4Branches command.

Signed-off-by: Simon Hausmann <simon@lst.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/fast-import/git-p4