@@ -3352,7 +3352,7 @@ <h3 id="_variables">Variables</h3>
3352
3352
< dt class ="hdlist1 "> core.repositoryFormatVersion</ dt >
3353
3353
< dd >
3354
3354
< p > Internal variable identifying the repository format and layout
3355
- version.</ p >
3355
+ version. See < a href =" gitrepository-layout.html " > gitrepository-layout(5) </ a > . </ p >
3356
3356
</ dd >
3357
3357
< dt class ="hdlist1 "> core.sharedRepository</ dt >
3358
3358
< dd >
@@ -4399,30 +4399,76 @@ <h3 id="_variables">Variables</h3>
4399
4399
default is < code > false</ code > , where the < code > --gui</ code > argument must be provided
4400
4400
explicitly for the < code > diff.guitool</ code > to be used.</ p >
4401
4401
</ dd >
4402
- < dt class ="hdlist1 "> extensions.objectFormat </ dt >
4402
+ < dt class ="hdlist1 "> extensions.* </ dt >
4403
4403
< dd >
4404
- < p > Specify the hash algorithm to use. The acceptable values are < code > sha1</ code > and
4405
- < code > sha256</ code > . If not specified, < code > sha1</ code > is assumed. It is an error to specify
4406
- this key unless < code > core.repositoryFormatVersion</ code > is 1.</ p >
4407
- < div class ="paragraph ">
4408
- < p > Note that this setting should only be set by < a href ="git-init.html "> git-init(1)</ a > or
4409
- < a href ="git-clone.html "> git-clone(1)</ a > . Trying to change it after initialization will not
4410
- work and will produce hard-to-diagnose issues.</ p >
4411
- </ div >
4412
- </ dd >
4413
- < dt class ="hdlist1 "> extensions.compatObjectFormat</ dt >
4404
+ < p > Unless otherwise stated, is an error to specify an extension if
4405
+ < code > core.repositoryFormatVersion</ code > is not < code > 1</ code > . See
4406
+ < a href ="gitrepository-layout.html "> gitrepository-layout(5)</ a > .</ p >
4407
+ < div class ="openblock ">
4408
+ < div class ="content ">
4409
+ < div class ="dlist ">
4410
+ < dl >
4411
+ < dt class ="hdlist1 "> compatObjectFormat</ dt >
4414
4412
< dd >
4415
4413
< p > Specify a compatibility hash algorithm to use. The acceptable values
4416
4414
are < code > sha1</ code > and < code > sha256</ code > . The value specified must be different from the
4417
- value of extensions.objectFormat. This allows client level
4415
+ value of < code > extensions.objectFormat</ code > . This allows client level
4418
4416
interoperability between git repositories whose objectFormat matches
4419
4417
this compatObjectFormat. In particular when fully implemented the
4420
4418
pushes and pulls from a repository in whose objectFormat matches
4421
4419
compatObjectFormat. As well as being able to use oids encoded in
4422
4420
compatObjectFormat in addition to oids encoded with objectFormat to
4423
4421
locally specify objects.</ p >
4424
4422
</ dd >
4425
- < dt class ="hdlist1 "> extensions.refStorage</ dt >
4423
+ < dt class ="hdlist1 "> noop</ dt >
4424
+ < dd >
4425
+ < p > This extension does not change git’s behavior at all. It is useful only
4426
+ for testing format-1 compatibility.</ p >
4427
+ < div class ="paragraph ">
4428
+ < p > For historical reasons, this extension is respected regardless of the
4429
+ < code > core.repositoryFormatVersion</ code > setting.</ p >
4430
+ </ div >
4431
+ </ dd >
4432
+ < dt class ="hdlist1 "> noop-v1</ dt >
4433
+ < dd >
4434
+ < p > This extension does not change git’s behavior at all. It is useful only
4435
+ for testing format-1 compatibility.</ p >
4436
+ </ dd >
4437
+ < dt class ="hdlist1 "> objectFormat</ dt >
4438
+ < dd >
4439
+ < p > Specify the hash algorithm to use. The acceptable values are < code > sha1</ code > and
4440
+ < code > sha256</ code > . If not specified, < code > sha1</ code > is assumed.</ p >
4441
+ < div class ="paragraph ">
4442
+ < p > Note that this setting should only be set by < a href ="git-init.html "> git-init(1)</ a > or
4443
+ < a href ="git-clone.html "> git-clone(1)</ a > . Trying to change it after initialization will not
4444
+ work and will produce hard-to-diagnose issues.</ p >
4445
+ </ div >
4446
+ </ dd >
4447
+ < dt class ="hdlist1 "> partialClone</ dt >
4448
+ < dd >
4449
+ < p > When enabled, indicates that the repo was created with a partial clone
4450
+ (or later performed a partial fetch) and that the remote may have
4451
+ omitted sending certain unwanted objects. Such a remote is called a
4452
+ "promisor remote" and it promises that all such omitted objects can
4453
+ be fetched from it in the future.</ p >
4454
+ < div class ="paragraph ">
4455
+ < p > The value of this key is the name of the promisor remote.</ p >
4456
+ </ div >
4457
+ < div class ="paragraph ">
4458
+ < p > For historical reasons, this extension is respected regardless of the
4459
+ < code > core.repositoryFormatVersion</ code > setting.</ p >
4460
+ </ div >
4461
+ </ dd >
4462
+ < dt class ="hdlist1 "> preciousObjects</ dt >
4463
+ < dd >
4464
+ < p > If enabled, indicates that objects in the repository MUST NOT be deleted
4465
+ (e.g., by < code > git-prune</ code > or < code > git</ code > < code > repack</ code > < code > -d</ code > ).</ p >
4466
+ < div class ="paragraph ">
4467
+ < p > For historical reasons, this extension is respected regardless of the
4468
+ < code > core.repositoryFormatVersion</ code > setting.</ p >
4469
+ </ div >
4470
+ </ dd >
4471
+ < dt class ="hdlist1 "> refStorage</ dt >
4426
4472
< dd >
4427
4473
< p > Specify the ref storage format to use. The acceptable values are:</ p >
4428
4474
< div class ="ulist ">
@@ -4433,19 +4479,16 @@ <h3 id="_variables">Variables</h3>
4433
4479
< li >
4434
4480
< p > < code > reftable</ code > for the reftable format. This format is experimental and its
4435
4481
internals are subject to change.</ p >
4436
- < div class =" paragraph " >
4437
- < p > It is an error to specify this key unless < code > core.repositoryFormatVersion </ code > is 1. </ p >
4482
+ </ li >
4483
+ </ ul >
4438
4484
</ div >
4439
4485
< div class ="paragraph ">
4440
4486
< p > Note that this setting should only be set by < a href ="git-init.html "> git-init(1)</ a > or
4441
4487
< a href ="git-clone.html "> git-clone(1)</ a > . Trying to change it after initialization will not
4442
4488
work and will produce hard-to-diagnose issues.</ p >
4443
4489
</ div >
4444
- </ li >
4445
- </ ul >
4446
- </ div >
4447
4490
</ dd >
4448
- < dt class ="hdlist1 "> extensions. worktreeConfig</ dt >
4491
+ < dt class ="hdlist1 "> worktreeConfig</ dt >
4449
4492
< dd >
4450
4493
< p > If enabled, then worktrees will load config settings from the
4451
4494
< code > $GIT_DIR/config.worktree</ code > file in addition to the
@@ -4456,7 +4499,7 @@ <h3 id="_variables">Variables</h3>
4456
4499
< code > config.worktree</ code > file will override settings from any other
4457
4500
config files.</ p >
4458
4501
< div class ="paragraph ">
4459
- < p > When enabling < code > extensions.worktreeConfig </ code > , you must be careful to move
4502
+ < p > When enabling this extension , you must be careful to move
4460
4503
certain values from the common config file to the main working tree’s
4461
4504
< code > config.worktree</ code > file, if present:</ p >
4462
4505
</ div >
@@ -4469,22 +4512,28 @@ <h3 id="_variables">Variables</h3>
4469
4512
< li >
4470
4513
< p > If < code > core.bare</ code > is true, then it must be moved from < code > $GIT_COMMON_DIR/config</ code >
4471
4514
to < code > $GIT_COMMON_DIR/config.worktree</ code > .</ p >
4515
+ </ li >
4516
+ </ ul >
4517
+ </ div >
4472
4518
< div class ="paragraph ">
4473
4519
< p > It may also be beneficial to adjust the locations of < code > core.sparseCheckout</ code >
4474
4520
and < code > core.sparseCheckoutCone</ code > depending on your desire for customizable
4475
4521
sparse-checkout settings for each worktree. By default, the < code > git</ code >
4476
- < code > sparse-checkout</ code > builtin enables < code > extensions.worktreeConfig </ code > , assigns
4522
+ < code > sparse-checkout</ code > builtin enables this extension , assigns
4477
4523
these config values on a per-worktree basis, and uses the
4478
4524
< code > $GIT_DIR/info/sparse-checkout</ code > file to specify the sparsity for each
4479
4525
worktree independently. See < a href ="git-sparse-checkout.html "> git-sparse-checkout(1)</ a > for more
4480
4526
details.</ p >
4481
4527
</ div >
4482
4528
< div class ="paragraph ">
4483
- < p > For historical reasons, < code > extensions.worktreeConfig</ code > is respected
4484
- regardless of the < code > core.repositoryFormatVersion</ code > setting.</ p >
4529
+ < p > +
4530
+ For historical reasons, this extension is respected regardless of the
4531
+ < code > core.repositoryFormatVersion</ code > setting.</ p >
4532
+ </ div >
4533
+ </ dd >
4534
+ </ dl >
4535
+ </ div >
4485
4536
</ div >
4486
- </ li >
4487
- </ ul >
4488
4537
</ div >
4489
4538
</ dd >
4490
4539
< dt class ="hdlist1 "> fastimport.unpackLimit</ dt >
@@ -9325,7 +9374,7 @@ <h2 id="_git">GIT</h2>
9325
9374
</ div >
9326
9375
< div id ="footer ">
9327
9376
< div id ="footer-text ">
9328
- Last updated 2024-11-01 22 :46:55 -0700
9377
+ Last updated 2024-11-02 14 :46:55 +0900
9329
9378
</ div >
9330
9379
</ div >
9331
9380
</ body >
0 commit comments