Commit 804fe31
sequencer: implement apply_autostash_oid()
Split apply_save_autostash() into apply_autostash_oid() and
apply_save_autostash() where the former operates on an OID string and
the latter reads the OID from a file before passing it into
apply_save_autostash_oid().
This function is required for a future commmit which will rely on being
able to apply an autostash whose OID is stored as a string.
Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 12b6e13 commit 804fe31
2 files changed
+27
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3707 | 3707 | | |
3708 | 3708 | | |
3709 | 3709 | | |
3710 | | - | |
| 3710 | + | |
3711 | 3711 | | |
3712 | | - | |
3713 | 3712 | | |
3714 | 3713 | | |
3715 | 3714 | | |
3716 | | - | |
3717 | | - | |
3718 | | - | |
3719 | | - | |
3720 | | - | |
3721 | | - | |
3722 | | - | |
3723 | 3715 | | |
3724 | 3716 | | |
3725 | 3717 | | |
3726 | 3718 | | |
3727 | 3719 | | |
3728 | 3720 | | |
3729 | | - | |
| 3721 | + | |
3730 | 3722 | | |
3731 | 3723 | | |
3732 | 3724 | | |
| |||
3741 | 3733 | | |
3742 | 3734 | | |
3743 | 3735 | | |
3744 | | - | |
| 3736 | + | |
3745 | 3737 | | |
3746 | | - | |
| 3738 | + | |
3747 | 3739 | | |
3748 | 3740 | | |
3749 | 3741 | | |
| |||
3755 | 3747 | | |
3756 | 3748 | | |
3757 | 3749 | | |
| 3750 | + | |
| 3751 | + | |
| 3752 | + | |
| 3753 | + | |
| 3754 | + | |
| 3755 | + | |
| 3756 | + | |
| 3757 | + | |
| 3758 | + | |
| 3759 | + | |
| 3760 | + | |
| 3761 | + | |
| 3762 | + | |
| 3763 | + | |
| 3764 | + | |
| 3765 | + | |
| 3766 | + | |
3758 | 3767 | | |
3759 | 3768 | | |
3760 | 3769 | | |
| |||
3770 | 3779 | | |
3771 | 3780 | | |
3772 | 3781 | | |
| 3782 | + | |
| 3783 | + | |
| 3784 | + | |
| 3785 | + | |
| 3786 | + | |
3773 | 3787 | | |
3774 | 3788 | | |
3775 | 3789 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| 198 | + | |
198 | 199 | | |
199 | 200 | | |
200 | 201 | | |
| |||
0 commit comments