Commit 4bdd6e7
add -p: improve error messages
If the user presses a key that isn't currently active then explain why
it isn't active rather than just listing all the keys. It already did
this for some keys, this patch does the same for the those that
weren't already handled.
Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 88f6ffc commit 4bdd6e7
1 file changed
+15
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1437 | 1437 | | |
1438 | 1438 | | |
1439 | 1439 | | |
1440 | | - | |
| 1440 | + | |
1441 | 1441 | | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
1442 | 1446 | | |
1443 | 1447 | | |
1444 | 1448 | | |
| |||
1556 | 1560 | | |
1557 | 1561 | | |
1558 | 1562 | | |
1559 | | - | |
| 1563 | + | |
| 1564 | + | |
| 1565 | + | |
| 1566 | + | |
| 1567 | + | |
1560 | 1568 | | |
1561 | 1569 | | |
1562 | 1570 | | |
| |||
1568 | 1576 | | |
1569 | 1577 | | |
1570 | 1578 | | |
1571 | | - | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
| 1582 | + | |
| 1583 | + | |
1572 | 1584 | | |
1573 | 1585 | | |
1574 | 1586 | | |
| |||
0 commit comments