Commit 518ef8f
completion: Replace config --list with --get-regexp
James Bardin noted that the completion spewed warnings when no git config
file is present. This is likely a bug to be fixed in git config, but it's
also good to simplify the completion code by using the --get-regexp option
as Jeff King pointed out.
Signed-off-by: Todd Zullinger <[email protected]>
Trivially-acked-by: Shawn O. Pearce <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>1 parent 05d3951 commit 518ef8f
1 file changed
+9
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
328 | 324 | | |
329 | 325 | | |
330 | 326 | | |
| |||
605 | 601 | | |
606 | 602 | | |
607 | 603 | | |
608 | | - | |
609 | | - | |
610 | | - | |
611 | | - | |
612 | | - | |
613 | | - | |
614 | | - | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
615 | 607 | | |
616 | 608 | | |
617 | 609 | | |
| |||
1769 | 1761 | | |
1770 | 1762 | | |
1771 | 1763 | | |
1772 | | - | |
1773 | | - | |
1774 | | - | |
1775 | | - | |
1776 | | - | |
1777 | | - | |
1778 | | - | |
| 1764 | + | |
| 1765 | + | |
| 1766 | + | |
1779 | 1767 | | |
1780 | 1768 | | |
1781 | 1769 | | |
| |||
0 commit comments