@@ -158,11 +158,14 @@ OPTIONS
158
158
159
159
General options
160
160
~~~~~~~~~~~~~~~
161
- All commands except clone accept this option .
161
+ All commands except clone accept these options .
162
162
163
163
--git-dir <dir>::
164
164
Set the 'GIT_DIR' environment variable. See linkgit:git[1].
165
165
166
+ --verbose::
167
+ Provide more progress information.
168
+
166
169
Sync options
167
170
~~~~~~~~~~~~
168
171
These options can be used in the initial 'clone' as well as in
@@ -193,12 +196,13 @@ git repository:
193
196
--silent::
194
197
Do not print any progress information.
195
198
196
- --verbose::
197
- Provide more progress information.
198
-
199
199
--detect-labels::
200
200
Query p4 for labels associated with the depot paths, and add
201
- them as tags in git.
201
+ them as tags in git. Limited usefulness as only imports labels
202
+ associated with new changelists. Deprecated.
203
+
204
+ --import-labels::
205
+ Import labels from p4 into git.
202
206
203
207
--import-local::
204
208
By default, p4 branches are stored in 'refs/remotes/p4/',
@@ -245,9 +249,6 @@ Submit options
245
249
~~~~~~~~~~~~~~
246
250
These options can be used to modify 'git p4 submit' behavior.
247
251
248
- --verbose::
249
- Provide more progress information.
250
-
251
252
--origin <commit>::
252
253
Upstream location from which commits are identified to submit to
253
254
p4. By default, this is the most recent p4 commit reachable
@@ -263,6 +264,16 @@ These options can be used to modify 'git p4 submit' behavior.
263
264
Re-author p4 changes before submitting to p4. This option
264
265
requires p4 admin privileges.
265
266
267
+ --export-labels::
268
+ Export tags from git as p4 labels. Tags found in git are applied
269
+ to the perforce working directory.
270
+
271
+ Rebase options
272
+ ~~~~~~~~~~~~~~
273
+ These options can be used to modify 'git p4 rebase' behavior.
274
+
275
+ --import-labels::
276
+ Import p4 labels.
266
277
267
278
DEPOT PATH SYNTAX
268
279
-----------------
@@ -427,11 +438,23 @@ git-p4.branchList::
427
438
enabled. Each entry should be a pair of branch names separated
428
439
by a colon (:). This example declares that both branchA and
429
440
branchB were created from main:
441
+
430
442
-------------
431
443
git config git-p4.branchList main:branchA
432
444
git config --add git-p4.branchList main:branchB
433
445
-------------
434
446
447
+ git-p4.ignoredP4Labels::
448
+ List of p4 labels to ignore. This is built automatically as
449
+ unimportable labels are discovered.
450
+
451
+ git-p4.importLabels::
452
+ Import p4 labels into git, as per --import-labels.
453
+
454
+ git-p4.labelImportRegexp::
455
+ Only p4 labels matching this regular expression will be imported. The
456
+ default value is '[a-zA-Z0-9_\-.]+$'.
457
+
435
458
git-p4.useClientSpec::
436
459
Specify that the p4 client spec should be used to identify p4
437
460
depot paths of interest. This is equivalent to specifying the
@@ -481,10 +504,17 @@ git-p4.skipUserNameCheck::
481
504
submission regardless.
482
505
483
506
git-p4.attemptRCSCleanup:
484
- If enabled, 'git p4 submit' will attempt to cleanup RCS keywords
485
- ($Header$, etc). These would otherwise cause merge conflicts and prevent
486
- the submit going ahead. This option should be considered experimental at
487
- present.
507
+ If enabled, 'git p4 submit' will attempt to cleanup RCS keywords
508
+ ($Header$, etc). These would otherwise cause merge conflicts and prevent
509
+ the submit going ahead. This option should be considered experimental at
510
+ present.
511
+
512
+ git-p4.exportLabels::
513
+ Export git tags to p4 labels, as per --export-labels.
514
+
515
+ git-p4.labelExportRegexp::
516
+ Only p4 labels matching this regular expression will be exported. The
517
+ default value is '[a-zA-Z0-9_\-.]+$'.
488
518
489
519
IMPLEMENTATION DETAILS
490
520
----------------------
0 commit comments