Commit f1cb96d
builtin-am: rerere support
git-am.sh will call git-rerere at the following events:
* "git rerere" when a three-way merge fails to record the conflicted
automerge results. Since 8389b52 (git-rerere: reuse recorded resolve.,
2006-01-28)
* Since cb6020b (Teach --[no-]rerere-autoupdate option to merge,
revert and friends, 2009-12-04), git-am.sh supports the
--[no-]rerere-autoupdate option as well, and would pass it to
git-rerere.
* "git rerere" when --resolved, to record the hand resolution. Since
f131dd4 (rerere: record (or avoid misrecording) resolved, skipped or
aborted rebase/am, 2006-12-08)
* "git rerere clear" when --skip-ing. Since f131dd4 (rerere: record (or
avoid misrecording) resolved, skipped or aborted rebase/am,
2006-12-08)
* "git rerere clear" when --abort-ing. Since 3e5057a (git am --abort,
2008-07-16)
Re-implement the above in builtin/am.c.
Signed-off-by: Paul Tan <pyokagan@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 7088f80 commit f1cb96d
1 file changed
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
114 | 115 | | |
115 | 116 | | |
116 | 117 | | |
| 118 | + | |
117 | 119 | | |
118 | 120 | | |
119 | 121 | | |
| |||
1312 | 1314 | | |
1313 | 1315 | | |
1314 | 1316 | | |
| 1317 | + | |
1315 | 1318 | | |
1316 | 1319 | | |
1317 | 1320 | | |
| |||
1531 | 1534 | | |
1532 | 1535 | | |
1533 | 1536 | | |
| 1537 | + | |
| 1538 | + | |
1534 | 1539 | | |
1535 | 1540 | | |
1536 | 1541 | | |
| |||
1630 | 1635 | | |
1631 | 1636 | | |
1632 | 1637 | | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
| 1644 | + | |
| 1645 | + | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
1633 | 1653 | | |
1634 | 1654 | | |
1635 | 1655 | | |
1636 | 1656 | | |
1637 | 1657 | | |
1638 | 1658 | | |
1639 | 1659 | | |
| 1660 | + | |
| 1661 | + | |
1640 | 1662 | | |
1641 | 1663 | | |
1642 | 1664 | | |
| |||
1694 | 1716 | | |
1695 | 1717 | | |
1696 | 1718 | | |
| 1719 | + | |
| 1720 | + | |
1697 | 1721 | | |
1698 | 1722 | | |
1699 | 1723 | | |
| |||
1823 | 1847 | | |
1824 | 1848 | | |
1825 | 1849 | | |
| 1850 | + | |
1826 | 1851 | | |
1827 | 1852 | | |
1828 | 1853 | | |
| |||
0 commit comments