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

Re: [PATCHv2] git bisect old/new

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 15, 2012, 21:06 UTC
Message-ID
<7v62as9tex.fsf@alter.siamese.dyndns.org>
In-Reply-To
<CABURp0qGUvjtOBp8vQ4LqWsWp-5oi+-2GwVq-edQbUnKzXHR-A@mail.gmail.com>
Phil Hord <phil.hord@gmail.com> writes:
Show 5 quoted lines
> Except that most of the work to support <arbitrary1/arbitrary2> is
> already being done in this patch to add <new/old>, but it will need
> re-doing or un-doing to move to arbitrary terms.  Supporting arbitrary
> terms today would save work (the re-doing and the un-doring), if we
> went that way in the future.

You are forgetting that "somebody wrote the code" does not matter much. What counds more is that the code is more complex than necessary to support the case we are immediately interested in, which means it is much more likely to have undiscovered bugs and will take more effort to update if we need to change the aspects other than "arbitrary two tokens" later. "Somebody wrote the code already" matters only when we are sure that we want to build on top of it. In this case, we don't.

Previous: Phil HordNext: Christian Couder
Message 13 of 14 in “git bisect old/new”
  1. git bisect old/newValentin Duperray, Jun 12, 2012
  2. Christian CouderJun 12, 2012
  3. Junio C HamanoJun 12, 2012
  4. Phil HordJun 12, 2012
  5. Christian CouderJun 13, 2012
  6. Junio C HamanoJun 13, 2012
  7. [PATCHv2] git bisect old/newValentin Duperray, Jun 12, 2012
  8. Junio C HamanoJun 12, 2012
  9. duperrav@minatec.inpg.frJun 13, 2012
  10. Christian CouderJun 14, 2012
  11. Junio C HamanoJun 14, 2012
  12. Phil HordJun 15, 2012
  13. Junio C HamanoJun 15, 2012
  14. Christian CouderJun 13, 2012

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.