Re: [RFC PATCH] Option to allow cherry-pick to skip empty commits
- From
Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
- Date
- Jan 23, 2017, 22:33 UTC
- Message-ID
- <CAOxFTcybikUwqn8kTTkuKPo3B7KiYJvneoDrr=m2fpN5RefbGQ@mail.gmail.com>
- In-Reply-To
- <xmqqfuk9r0zw.fsf@gitster.mtv.corp.google.com>
On Mon, Jan 23, 2017 at 9:10 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 8 quoted lines
> 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?
Apparently discard_cache() followed by read_cache() is exactly what I needed. New patchset incoming 8-)
-- Giuseppe "Oblomov" Bilotta