Re: [RFC PATCH] Option to allow cherry-pick to skip empty commits
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 23, 2017, 20:10 UTC
- Message-ID
- <xmqqfuk9r0zw.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <CAOxFTcxRjWS-=wyGBVOtg-tfCHrqqAr9rVOcvkyxXwJHonN_Tg@mail.gmail.com>
Giuseppe Bilotta <giuseppe.bilotta@gmail.com> writes:
> ... I still don't see how to force a complete reread of the index > after running a git reset (which I need for the --skip command), ...
Do you mean discard_index() or discard_cache() followed by read_index() or read_cache(), or do you mean something more elaborate?