Commit 78a766a
hideRefs: add support for matching full refs
In addition to matching stripped refs, one can now add hideRefs
patterns that the full (unstripped) ref is matched against. To
distinguish between stripped and full matches, those new patterns
must be prefixed with a circumflex (^).
This commit also removes support for the undocumented and unintended
hideRefs settings ".have" (suppressing all "have" lines) and
"capabilities^{}" (suppressing the capabilities line).
Signed-off-by: Lukas Fleischer <lfleischer@lfos.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 00b293e commit 78a766a
File tree
5 files changed
+52
-16
lines changed- Documentation
- builtin
5 files changed
+52
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2680 | 2680 | | |
2681 | 2681 | | |
2682 | 2682 | | |
2683 | | - | |
| 2683 | + | |
| 2684 | + | |
2684 | 2685 | | |
2685 | 2686 | | |
2686 | 2687 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | 198 | | |
202 | 199 | | |
203 | 200 | | |
| |||
219 | 216 | | |
220 | 217 | | |
221 | 218 | | |
222 | | - | |
| 219 | + | |
| 220 | + | |
223 | 221 | | |
224 | | - | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
225 | 227 | | |
226 | 228 | | |
227 | 229 | | |
| |||
1195 | 1197 | | |
1196 | 1198 | | |
1197 | 1199 | | |
| 1200 | + | |
| 1201 | + | |
1198 | 1202 | | |
1199 | 1203 | | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
1200 | 1207 | | |
1201 | | - | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
1202 | 1215 | | |
1203 | 1216 | | |
1204 | 1217 | | |
1205 | 1218 | | |
1206 | 1219 | | |
1207 | 1220 | | |
| 1221 | + | |
| 1222 | + | |
1208 | 1223 | | |
1209 | 1224 | | |
1210 | 1225 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4534 | 4534 | | |
4535 | 4535 | | |
4536 | 4536 | | |
4537 | | - | |
| 4537 | + | |
4538 | 4538 | | |
4539 | 4539 | | |
4540 | 4540 | | |
4541 | 4541 | | |
4542 | 4542 | | |
4543 | 4543 | | |
4544 | 4544 | | |
| 4545 | + | |
4545 | 4546 | | |
4546 | 4547 | | |
4547 | 4548 | | |
| |||
4550 | 4551 | | |
4551 | 4552 | | |
4552 | 4553 | | |
4553 | | - | |
| 4554 | + | |
| 4555 | + | |
| 4556 | + | |
| 4557 | + | |
| 4558 | + | |
| 4559 | + | |
| 4560 | + | |
| 4561 | + | |
| 4562 | + | |
4554 | 4563 | | |
4555 | 4564 | | |
4556 | | - | |
| 4565 | + | |
4557 | 4566 | | |
4558 | 4567 | | |
4559 | 4568 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
444 | 444 | | |
445 | 445 | | |
446 | 446 | | |
447 | | - | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
448 | 456 | | |
449 | 457 | | |
450 | 458 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
688 | 688 | | |
689 | 689 | | |
690 | 690 | | |
691 | | - | |
| 691 | + | |
| 692 | + | |
692 | 693 | | |
693 | 694 | | |
694 | 695 | | |
695 | | - | |
| 696 | + | |
696 | 697 | | |
697 | 698 | | |
698 | 699 | | |
699 | 700 | | |
700 | 701 | | |
701 | 702 | | |
702 | 703 | | |
703 | | - | |
| 704 | + | |
704 | 705 | | |
705 | 706 | | |
706 | | - | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
707 | 710 | | |
708 | 711 | | |
709 | 712 | | |
| |||
726 | 729 | | |
727 | 730 | | |
728 | 731 | | |
729 | | - | |
| 732 | + | |
730 | 733 | | |
731 | 734 | | |
732 | 735 | | |
| |||
0 commit comments