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

Re: My custom cccmd

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Nov 2, 2009, 14:25 UTC
Message-ID
<94a0d4530911020625i250c5d44rbf6dfc68fc69b520@mail.gmail.com>
In-Reply-To
<7vr5skim76.fsf@alter.siamese.dyndns.org>
On Fri, Oct 30, 2009 at 11:52 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 30 quoted lines
> Felipe Contreras <felipe.contreras@gmail.com> writes:
>
>> On Tue, Oct 27, 2009 at 11:53 PM, Junio C Hamano <gitster@pobox.com> wrote:
>>> It might make more sense if your tool told you about such a case directly,
>>> rather than helping you find John so that he can tell you ;-).
>>
>> But that's not the purpose of the cccmd tool.
>>
>> I agree that such "patch series simplificator" tool would be very
>> useful, but that's out of scope for this. Isn't it?
>
> Exactly.
>
> So you agree that you _do_ want to "discard the previous commits in the
> patch series", because not doing so would mean the result would be a
> half-cooked "patch series simplificator" that tries to do something that
> is outside the scope of cccmd, right?
>
> The "discarding the previous commits" happens to match what I suggested
> earlier that lead to your "explored this a bit more":
>
> On Thu, Oct 15, 2009 at 11:37 PM, Felipe Contreras <felipe.contreras@gmail.com> wrote:
>> On Thu, Oct 15, 2009 at 11:09 PM, Junio C Hamano <gitster@pobox.com> wrote:
>>>  #2. If you have two patch series that updates one file twice, some
>>>     changes in your second patch could even be an update to the changes
>>>     you introduced in your first patch.  After you fix issue #1, you
>>>     would probably want to fix this by excluding the commits you have
>>>     already sent the blames for.
>
> so I think we are in agreement.
Cool. Is this script something that would make sense in the contrib section?
-- 
Felipe Contreras
Previous: Junio C Hamano
Message 8 of 8 in “My custom cccmd”
  1. Felipe ContrerasOct 15, 2009
  2. Junio C HamanoOct 15, 2009
  3. Felipe ContrerasOct 15, 2009
  4. Felipe ContrerasOct 25, 2009
  5. Junio C HamanoOct 27, 2009
  6. Felipe ContrerasOct 30, 2009
  7. Junio C HamanoOct 30, 2009
  8. Felipe ContrerasNov 2, 2009

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.