@@ -4196,6 +4196,83 @@ <h3 id="_variables">Variables</h3>
4196
4196
< dd >
4197
4197
< p > Set this option to < code > true</ code > to make the diff driver cache the text
4198
4198
conversion outputs. See < a href ="gitattributes.html "> gitattributes(5)</ a > for details.</ p >
4199
+ </ dd >
4200
+ < dt class ="hdlist1 "> < code > diff.indentHeuristic</ code > </ dt >
4201
+ < dd >
4202
+ < p > Set this option to < code > false</ code > to disable the default heuristics
4203
+ that shift diff hunk boundaries to make patches easier to read.</ p >
4204
+ </ dd >
4205
+ < dt class ="hdlist1 "> < code > diff.algorithm</ code > </ dt >
4206
+ < dd >
4207
+ < p > Choose a diff algorithm. The variants are as follows:</ p >
4208
+ < div class ="openblock ">
4209
+ < div class ="content ">
4210
+ < div class ="dlist ">
4211
+ < dl >
4212
+ < dt class ="hdlist1 "> < code > default</ code > </ dt >
4213
+ < dt class ="hdlist1 "> < code > myers</ code > </ dt >
4214
+ < dd >
4215
+ < p > The basic greedy diff algorithm. Currently, this is the default.</ p >
4216
+ </ dd >
4217
+ < dt class ="hdlist1 "> < code > minimal</ code > </ dt >
4218
+ < dd >
4219
+ < p > Spend extra time to make sure the smallest possible diff is
4220
+ produced.</ p >
4221
+ </ dd >
4222
+ < dt class ="hdlist1 "> < code > patience</ code > </ dt >
4223
+ < dd >
4224
+ < p > Use "patience diff" algorithm when generating patches.</ p >
4225
+ </ dd >
4226
+ < dt class ="hdlist1 "> < code > histogram</ code > </ dt >
4227
+ < dd >
4228
+ < p > This algorithm extends the patience algorithm to "support
4229
+ low-occurrence common elements".</ p >
4230
+ </ dd >
4231
+ </ dl >
4232
+ </ div >
4233
+ </ div >
4234
+ </ div >
4235
+ </ dd >
4236
+ < dt class ="hdlist1 "> < code > diff.wsErrorHighlight</ code > </ dt >
4237
+ < dd >
4238
+ < p > Highlight whitespace errors in the < code > context</ code > , < code > old</ code > or < code > new</ code >
4239
+ lines of the diff. Multiple values are separated by comma,
4240
+ < code > none</ code > resets previous values, < code > default</ code > reset the list to
4241
+ < code > new</ code > and < code > all</ code > is a shorthand for < code > old,new,context</ code > . The
4242
+ whitespace errors are colored with < code > color.diff.whitespace</ code > .
4243
+ The command line option < code > --ws-error-highlight=</ code > < em > <kind></ em >
4244
+ overrides this setting.</ p >
4245
+ </ dd >
4246
+ < dt class ="hdlist1 "> < code > diff.colorMoved</ code > </ dt >
4247
+ < dd >
4248
+ < p > If set to either a valid < em > <mode></ em > or a < code > true</ code > value, moved lines
4249
+ in a diff are colored differently.
4250
+ For details of valid modes see < code > --color-moved</ code > in < a href ="git-diff.html "> git-diff(1)</ a > .
4251
+ If simply set to < code > true</ code > the default color mode will be used. When
4252
+ set to < code > false</ code > , moved lines are not colored.</ p >
4253
+ </ dd >
4254
+ < dt class ="hdlist1 "> < code > diff.colorMovedWS</ code > </ dt >
4255
+ < dd >
4256
+ < p > When moved lines are colored using e.g. the < code > diff.colorMoved</ code > setting,
4257
+ this option controls the mode how spaces are treated.
4258
+ For details of valid modes see < code > --color-moved-ws</ code > in < a href ="git-diff.html "> git-diff(1)</ a > .</ p >
4259
+ </ dd >
4260
+ < dt class ="hdlist1 "> diff.tool</ dt >
4261
+ < dd >
4262
+ < p > Controls which diff tool is used by < a href ="git-difftool.html "> git-difftool(1)</ a > .
4263
+ This variable overrides the value configured in < code > merge.tool</ code > .
4264
+ The list below shows the valid built-in values.
4265
+ Any other value is treated as a custom diff tool and requires
4266
+ that a corresponding difftool.<tool>.cmd variable is defined.</ p >
4267
+ </ dd >
4268
+ < dt class ="hdlist1 "> diff.guitool</ dt >
4269
+ < dd >
4270
+ < p > Controls which diff tool is used by < a href ="git-difftool.html "> git-difftool(1)</ a > when
4271
+ the -g/--gui flag is specified. This variable overrides the value
4272
+ configured in < code > merge.guitool</ code > . The list below shows the valid
4273
+ built-in values. Any other value is treated as a custom diff tool
4274
+ and requires that a corresponding difftool.<guitool>.cmd variable
4275
+ is defined.</ p >
4199
4276
< div class ="dlist ">
4200
4277
< dl >
4201
4278
< dt class ="hdlist1 "> < code > araxis</ code > </ dt >
@@ -4301,83 +4378,6 @@ <h3 id="_variables">Variables</h3>
4301
4378
</ dl >
4302
4379
</ div >
4303
4380
</ dd >
4304
- < dt class ="hdlist1 "> < code > diff.indentHeuristic</ code > </ dt >
4305
- < dd >
4306
- < p > Set this option to < code > false</ code > to disable the default heuristics
4307
- that shift diff hunk boundaries to make patches easier to read.</ p >
4308
- </ dd >
4309
- < dt class ="hdlist1 "> < code > diff.algorithm</ code > </ dt >
4310
- < dd >
4311
- < p > Choose a diff algorithm. The variants are as follows:</ p >
4312
- < div class ="openblock ">
4313
- < div class ="content ">
4314
- < div class ="dlist ">
4315
- < dl >
4316
- < dt class ="hdlist1 "> < code > default</ code > </ dt >
4317
- < dt class ="hdlist1 "> < code > myers</ code > </ dt >
4318
- < dd >
4319
- < p > The basic greedy diff algorithm. Currently, this is the default.</ p >
4320
- </ dd >
4321
- < dt class ="hdlist1 "> < code > minimal</ code > </ dt >
4322
- < dd >
4323
- < p > Spend extra time to make sure the smallest possible diff is
4324
- produced.</ p >
4325
- </ dd >
4326
- < dt class ="hdlist1 "> < code > patience</ code > </ dt >
4327
- < dd >
4328
- < p > Use "patience diff" algorithm when generating patches.</ p >
4329
- </ dd >
4330
- < dt class ="hdlist1 "> < code > histogram</ code > </ dt >
4331
- < dd >
4332
- < p > This algorithm extends the patience algorithm to "support
4333
- low-occurrence common elements".</ p >
4334
- </ dd >
4335
- </ dl >
4336
- </ div >
4337
- </ div >
4338
- </ div >
4339
- </ dd >
4340
- < dt class ="hdlist1 "> < code > diff.wsErrorHighlight</ code > </ dt >
4341
- < dd >
4342
- < p > Highlight whitespace errors in the < code > context</ code > , < code > old</ code > or < code > new</ code >
4343
- lines of the diff. Multiple values are separated by comma,
4344
- < code > none</ code > resets previous values, < code > default</ code > reset the list to
4345
- < code > new</ code > and < code > all</ code > is a shorthand for < code > old,new,context</ code > . The
4346
- whitespace errors are colored with < code > color.diff.whitespace</ code > .
4347
- The command line option < code > --ws-error-highlight=</ code > < em > <kind></ em >
4348
- overrides this setting.</ p >
4349
- </ dd >
4350
- < dt class ="hdlist1 "> < code > diff.colorMoved</ code > </ dt >
4351
- < dd >
4352
- < p > If set to either a valid < em > <mode></ em > or a < code > true</ code > value, moved lines
4353
- in a diff are colored differently.
4354
- For details of valid modes see < code > --color-moved</ code > in < a href ="git-diff.html "> git-diff(1)</ a > .
4355
- If simply set to < code > true</ code > the default color mode will be used. When
4356
- set to < code > false</ code > , moved lines are not colored.</ p >
4357
- </ dd >
4358
- < dt class ="hdlist1 "> < code > diff.colorMovedWS</ code > </ dt >
4359
- < dd >
4360
- < p > When moved lines are colored using e.g. the < code > diff.colorMoved</ code > setting,
4361
- this option controls the mode how spaces are treated.
4362
- For details of valid modes see < code > --color-moved-ws</ code > in < a href ="git-diff.html "> git-diff(1)</ a > .</ p >
4363
- </ dd >
4364
- < dt class ="hdlist1 "> diff.tool</ dt >
4365
- < dd >
4366
- < p > Controls which diff tool is used by < a href ="git-difftool.html "> git-difftool(1)</ a > .
4367
- This variable overrides the value configured in < code > merge.tool</ code > .
4368
- The list below shows the valid built-in values.
4369
- Any other value is treated as a custom diff tool and requires
4370
- that a corresponding difftool.<tool>.cmd variable is defined.</ p >
4371
- </ dd >
4372
- < dt class ="hdlist1 "> diff.guitool</ dt >
4373
- < dd >
4374
- < p > Controls which diff tool is used by < a href ="git-difftool.html "> git-difftool(1)</ a > when
4375
- the -g/--gui flag is specified. This variable overrides the value
4376
- configured in < code > merge.guitool</ code > . The list below shows the valid
4377
- built-in values. Any other value is treated as a custom diff tool
4378
- and requires that a corresponding difftool.<guitool>.cmd variable
4379
- is defined.</ p >
4380
- </ dd >
4381
4381
< dt class ="hdlist1 "> difftool.<tool>.cmd</ dt >
4382
4382
< dd >
4383
4383
< p > Specify the command to invoke the specified diff tool.
0 commit comments