Re: [PATCH v2 06/12] wt-status.c: split rebase detection out of wt_status_get_state()
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Apr 20, 2016, 13:54 UTC
- Message-ID
- <CACsJy8CV+MtLYumsej6VDkBZMqTmSHedpVhe6pwhz_Vokw3_fA@mail.gmail.com>
- In-Reply-To
- <57178897.20509@ramsayjones.plus.com>
On Wed, Apr 20, 2016 at 8:48 PM, Ramsay Jones <ramsay@ramsayjones.plus.com> wrote:
Show 7 quoted lines
> > > On 20/04/16 14:24, Nguyễn Thái Ngọc Duy wrote: >> worktree.c:find_shared_symref() later needs to know if a branch is being >> rebased, and only rebased only. Split this code so it can be used > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > Err ... what?
wt_status_get_state() detects more than rebase, it does bisect, cherry-pick, detached head as well. I "only" too much there though.
-- Duy