Commit c1063be
config: avoid a funny sentinel value "a^"
Introduce CONFIG_REGEX_NONE as a more explicit sentinel value to say
"we do not want to replace any existing entry" and use it in the
implementation of "git config --add".
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent c846664 commit c1063be
3 files changed
Lines changed: 21 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
599 | 599 | | |
600 | 600 | | |
601 | 601 | | |
602 | | - | |
| 602 | + | |
| 603 | + | |
603 | 604 | | |
604 | 605 | | |
605 | 606 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1233 | 1233 | | |
1234 | 1234 | | |
1235 | 1235 | | |
| 1236 | + | |
| 1237 | + | |
1236 | 1238 | | |
1237 | 1239 | | |
1238 | 1240 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1230 | 1230 | | |
1231 | 1231 | | |
1232 | 1232 | | |
1233 | | - | |
1234 | | - | |
1235 | | - | |
1236 | | - | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
1237 | 1242 | | |
1238 | 1243 | | |
1239 | 1244 | | |
| |||
1495 | 1500 | | |
1496 | 1501 | | |
1497 | 1502 | | |
| 1503 | + | |
| 1504 | + | |
1498 | 1505 | | |
1499 | 1506 | | |
1500 | 1507 | | |
| |||
1578 | 1585 | | |
1579 | 1586 | | |
1580 | 1587 | | |
| 1588 | + | |
| 1589 | + | |
1581 | 1590 | | |
1582 | 1591 | | |
1583 | 1592 | | |
| |||
1609 | 1618 | | |
1610 | 1619 | | |
1611 | 1620 | | |
1612 | | - | |
| 1621 | + | |
| 1622 | + | |
1613 | 1623 | | |
1614 | 1624 | | |
1615 | 1625 | | |
| |||
1618 | 1628 | | |
1619 | 1629 | | |
1620 | 1630 | | |
1621 | | - | |
| 1631 | + | |
| 1632 | + | |
1622 | 1633 | | |
1623 | 1634 | | |
1624 | 1635 | | |
| |||
0 commit comments