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

Re: [PATCH v3] reset: add an example of how to split a commit into two

From
Jacob Keller <jacob.keller@gmail.com>
Date
Feb 16, 2017, 21:26 UTC
Message-ID
<CA+P7+xr4a+NK8Ye5DK7=EdDfZTSwuZsp3kG3DMHabCu5z+sbCQ@mail.gmail.com>
In-Reply-To
<xmqqpoihx6f4.fsf@gitster.mtv.corp.google.com>
On Thu, Feb 16, 2017 at 11:49 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 14 quoted lines
> Junio C Hamano <gitster@pobox.com> writes:
>
>> Jacob Keller <jacob.e.keller@intel.com> writes:
>>
>>> The interdiff between v2 and v3 is not really worth showing since I
>>> basically re-wrote the entire section a bit.
>>
>> Could this be made into an incremental, now that v2 has been in
>> 'next' for about 10 days, please?
>
> Nah, I think it is easier to read "log -p" if I just revert v2 out
> of existence from 'next', and queue this (with a minor typofixes) as
> a different topic to be merged later to 'master'.
>

Ok. Yea, I didn't even realize it was put into next because of the various comments I'd received. I guess I could have checked, but the diff really is bad when seeing incrementally.

Show 11 quoted lines
> So no need to resend and certainly no need to make it incremental.
>
>>> +Split a commit apart into a sequence of commits::
>>> ++
>>> +Suppose that you have create lots of logically separate changes and commit them
>>
>> s/create/&d/; s/commit/&ed/
>
> I'd do this myself while queuing.
>
> Thanks.

Thanks, Jake

Previous: Junio C Hamano
Message 4 of 4 in “reset: add an example of how to split a commit into two”
  1. reset: add an example of how to split a commit into twoJacob Keller, Feb 16, 2017
  2. Junio C HamanoFeb 16, 2017
  3. Junio C HamanoFeb 16, 2017
  4. Jacob KellerFeb 16, 2017

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.