Commit bb250b5
committed
Merge branch 'jc/checkout-no-op-switch-errors' into maint-2.46
"git checkout --ours" (no other arguments) complained that the
option is incompatible with branch switching, which is technically
correct, but found confusing by some users. It now says that the
user needs to give pathspec to specify what paths to checkout.
* jc/checkout-no-op-switch-errors:
checkout: special case error messages during noop switching2 files changed
Lines changed: 27 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1572 | 1572 | | |
1573 | 1573 | | |
1574 | 1574 | | |
| 1575 | + | |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
1575 | 1579 | | |
1576 | 1580 | | |
1577 | 1581 | | |
| |||
1583 | 1587 | | |
1584 | 1588 | | |
1585 | 1589 | | |
1586 | | - | |
1587 | | - | |
1588 | | - | |
| 1590 | + | |
| 1591 | + | |
| 1592 | + | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
| 1597 | + | |
1589 | 1598 | | |
1590 | 1599 | | |
1591 | 1600 | | |
| |||
1612 | 1621 | | |
1613 | 1622 | | |
1614 | 1623 | | |
1615 | | - | |
1616 | | - | |
1617 | | - | |
1618 | | - | |
| 1624 | + | |
| 1625 | + | |
1619 | 1626 | | |
1620 | 1627 | | |
1621 | 1628 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
498 | 498 | | |
499 | 499 | | |
500 | 500 | | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
501 | 514 | | |
502 | 515 | | |
503 | 516 | | |
| |||
0 commit comments