From: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: Git List <git@vger.kernel.org>
Subject: Re: [RFC PATCH] Option to allow cherry-pick to skip empty commits
Date: Mon, 23 Jan 2017 23:33:07 +0100 [thread overview]
Message-ID: <CAOxFTcybikUwqn8kTTkuKPo3B7KiYJvneoDrr=m2fpN5RefbGQ@mail.gmail.com> (raw)
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:
> 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
prev parent reply other threads:[~2017-01-23 22:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-21 13:16 [RFC PATCH] Option to allow cherry-pick to skip empty commits Giuseppe Bilotta
2017-01-22 23:27 ` Junio C Hamano
2017-01-23 10:18 ` Giuseppe Bilotta
2017-01-23 18:15 ` Junio C Hamano
2017-01-23 20:05 ` Giuseppe Bilotta
2017-01-23 20:10 ` Junio C Hamano
2017-01-23 22:33 ` Giuseppe Bilotta [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAOxFTcybikUwqn8kTTkuKPo3B7KiYJvneoDrr=m2fpN5RefbGQ@mail.gmail.com' \
--to=giuseppe.bilotta@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).