Re: [GSoC][PATCH v3 2/3] rebase -i: rewrite setup_reflog_action() in C
- From
Pratik Karki <predatoramigo@gmail.com>
- Date
- Jun 26, 2018, 09:13 UTC
- Message-ID
- <CAOZc8M-oYND29eiZOfmKk7O-b34dxWphdgix0PgeryfYpu26Ng@mail.gmail.com>
- In-Reply-To
- <nycvar.QRO.7.76.6.1806252313140.11870@tvgsbejvaqbjf.bet>
Hi,
On Tue, Jun 26, 2018 at 3:00 AM Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 5 quoted lines
> Pratik refactored some code from sequencer.c into checkout.c/checkout.h > today to do exactly that. It is not polished yet, but probably will be > tomorrow. It provides a function `int detach_head_to(struct object_oid > *oid, const char *action, const char *reflog_message)`. Maybe use that > directly, once the commit is available?
The commit is here[1].
[1]: https://github.com/git/git/pull/505/commits/47031d4706bd1eccd2816ecdaaf6e9cd700909aa
Cheers, Pratik