Skip to content

Commit f4575b8

Browse files
committed
Use notes to store p4 info
P4 info is now stored in git notes. This doesn't modify the commit message when submitting to Perforce which makes it easier possible to share the git repo. Note that you need to re-import from Perforce since it's not backwards compatible. Notes in git are relatively new, so you need a fairly recent git version (>= 1.7, although 1.6.6 might also work). Change-Id: Ia058c3b80060059dfeb9cc27d1b17047c4078707
1 parent 994ec6c commit f4575b8

File tree

4 files changed

+875
-455
lines changed

4 files changed

+875
-455
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
*~
2+
*.pyc
23

README.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ The following options can be set in the config file:
88
git-p4.client
99
git-p4.detectRename (only affects submitting from git to p4)
1010
git-p4.detectCopy (only affects submitting from git to p4)
11-
git-p4.allowSubmit
11+
git-p4.allowSubmit (comma-separated list of branch names that are allowed to submit to p4)
1212
git-p4.syncFromOrigin
1313
git-p4.useclientspec
14+
git-p4.importIntoRemotes
1415

0 commit comments

Comments
 (0)