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

Re: [PATCH] git-bisect: use dash-less form on git bisect log

From
Christian Couder <chriscool@tuxfamily.org>
Date
Jul 13, 2008, 06:19 UTC
Message-ID
<200807130819.24206.chriscool@tuxfamily.org>
In-Reply-To
<1215792089-27201-1-git-send-email-vmiklos@frugalware.org>
Le vendredi 11 juillet 2008, Miklos Vajna a écrit :
Show 7 quoted lines
> Given that users are supposed to type 'git bisect' now, make the output
> of 'git bisect log' consistent with this.
>
> Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
> ---
>
> On Fri, Jul 11, 2008 at 08:39:14AM +0200, Christian Couder 
<chriscool@tuxfamily.org> wrote:
Show 15 quoted lines
> > Wouldn't it be better if bisect_replay could read old logs?
> >
> > Maybe with something like:
> >
> > +     while read git bisect command rev
> >       do
> > -             test "$bisect" = "git-bisect" || continue
> > +             test "$git $bisect" = "git bisect" -o "$git" =
> > "git-bisect" || continue
> > +             if test "$git" = "git-bisect"; then
> > +                     rev="$command"
> > +                     command="$bisect"
> > +             fi
>
> You are right, here is an updated patch.

Your patch looks good. But there is also the problem that new bisect logs will not be understood by old git. So I wonder if a patch to only read the new log should be first commited to the "maint" branch.

And sorry but I will be on vacation without Internet access for one week starting really soon now, so I will not be able to do anything soon, nor answer to any mails.

Thanks, Christian.

Previous: Miklos VajnaNext: Junio C Hamano
Message 8 of 9 in “Extend make remove-dashes”
  1. 0/5 Extend make remove-dashesMiklos Vajna, Jul 11, 2008
  2. 1/5 t0001-init.sh: change confusing directory nameMiklos Vajna, Jul 11, 2008
  3. 2/5 t1007-hash-object.sh: use quotes for the test descriptionMiklos Vajna, Jul 11, 2008
  4. 3/5 git-bisect: use dash-less form on git bisect logMiklos Vajna, Jul 11, 2008
  5. 4/5 make remove-dashes: apply to scripts and programs as well, not just to builtinsMiklos Vajna, Jul 11, 2008
  6. Christian CouderJul 11, 2008
  7. git-bisect: use dash-less form on git bisect logMiklos Vajna, Jul 11, 2008
  8. Christian CouderJul 13, 2008
  9. Junio C HamanoJul 13, 2008

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.