git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: GSoC 2016 | Proposal | Incremental Rewrite of git bisect

From
Pranit Bauva <pranit.bauva@gmail.com>
Date
Mar 25, 2016, 09:58 UTC
Message-ID
<CAFZEwPN7HhjiQ=WdJUvK-4c1XL1X=27m8xF7MZab92v+aK-9ww@mail.gmail.com>
In-Reply-To
<vpqbn62vrza.fsf@anie.imag.fr>

On Fri, Mar 25, 2016 at 2:45 PM, Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> wrote:

Show 20 quoted lines
> Christian Couder <christian.couder@gmail.com> writes:
>
>> On Thu, Mar 24, 2016 at 12:27 AM, Pranit Bauva <pranit.bauva@gmail.com> wrote:
>>
>>> Unification of bisect.c and bisect--helper.c
>>>
>>> This will unify the algorithmic and non-algorithmic parts of bisect
>>> bringing them under one heading to make the code clean.
>>
>> I am not sure this is needed and a good idea. Maybe you will rename
>> "builtin/bisect--helper.c" to "builtin/bisect.c" and remove
>> git-bisect.sh at the same time to complete the shell to C move. But
>> the actual bisect.{c,h} might be useful as they are for other
>> purposes.
>
> Yes. My view on this is that builtin/*.c should be just user-interface,
> and actual stuff should be outside builtin, ideally in a well-designed
> and reusable library (typically re-usable by libgit2 or others to
> provide another UI for the same feature). Not all commands work this
> way, but I think this is a good direction to take.
Okay. I didn't know about this. Thanks for completing Christian's point.
Show 13 quoted lines
>> When you have sent one patch series, even a small one, then your main
>> goal should be to have this patch series merged.
>
> I'd add: to get a patch series merged, two things take time:
>
> 1) latency: let time to other people to read and comment on your code.
>
> 2) extra-work required by reviewers.
>
> You want to send series early because of 1) (then you can work on the
> next series while waiting for reviews on the current one), and you need
> to prioritize 2) over working on the next series to minimize in-flight
> topics.

I had planned to work this way. I will include this in the proposal. Though it creates some confusion for me and I tend to mix some things up but I will maintain a hard copy to jot down the discussions and my thoughts.

Previous: Matthieu MoyNext: Pranit Bauva
Message 4 of 8 in “GSoC 2016 | Proposal | Incremental Rewrite of git bisect”
  1. Pranit BauvaMar 23, 2016
  2. Christian CouderMar 25, 2016
  3. Matthieu MoyMar 25, 2016
  4. Pranit BauvaMar 25, 2016
  5. Pranit BauvaMar 25, 2016
  6. Pranit BauvaMar 25, 2016
  7. Christian CouderMar 25, 2016
  8. Pranit BauvaMar 25, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.