git p4: set self.branchPrefixes in initialization
commite63231e566e2ac063e9f2aca18f5e3dca29dbc8f
authorPete Wyckoff <pw@padd.com>
Sat, 11 Aug 2012 16:55:02 +0000 (11 12:55 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sun, 12 Aug 2012 04:42:13 +0000 (11 21:42 -0700)
tree1fface1bc520fcbf12de74076defd5ee7eb26808
parent19516356b29e964dcac3ed20b1eab5ff3cea7bee
git p4: set self.branchPrefixes in initialization

This instance variable is needed during commit() to map
files from p4 to their relative locations in git.  Set
it when initializing P4Sync to avoid passing it to every
commit() call.

Signed-off-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-p4.py