Commit abe0cc5
fast-import: add helper function for inserting mark object entries
Currently, everything we want to insert into a mark set is an object
entry. However, in the future, we will want to insert objects of other
types. Teach read_mark_file to take a function pointer which helps us
insert the object we want into our mark set.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent ddddf8d commit abe0cc5
1 file changed
+22
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
| 135 | + | |
134 | 136 | | |
135 | 137 | | |
136 | 138 | | |
| |||
1711 | 1713 | | |
1712 | 1714 | | |
1713 | 1715 | | |
1714 | | - | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
| 1722 | + | |
| 1723 | + | |
| 1724 | + | |
| 1725 | + | |
| 1726 | + | |
| 1727 | + | |
| 1728 | + | |
| 1729 | + | |
| 1730 | + | |
| 1731 | + | |
| 1732 | + | |
| 1733 | + | |
1715 | 1734 | | |
1716 | 1735 | | |
1717 | 1736 | | |
1718 | 1737 | | |
1719 | 1738 | | |
1720 | 1739 | | |
1721 | | - | |
1722 | 1740 | | |
1723 | 1741 | | |
1724 | 1742 | | |
| |||
1728 | 1746 | | |
1729 | 1747 | | |
1730 | 1748 | | |
1731 | | - | |
1732 | | - | |
1733 | | - | |
1734 | | - | |
1735 | | - | |
1736 | | - | |
1737 | | - | |
1738 | | - | |
1739 | | - | |
1740 | | - | |
1741 | | - | |
1742 | | - | |
| 1749 | + | |
1743 | 1750 | | |
1744 | 1751 | | |
1745 | 1752 | | |
| |||
1752 | 1759 | | |
1753 | 1760 | | |
1754 | 1761 | | |
1755 | | - | |
| 1762 | + | |
1756 | 1763 | | |
1757 | 1764 | | |
1758 | 1765 | | |
| |||
0 commit comments