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
Junio C Hamano <gitster@pobox.com>
Date
Feb 16, 2017, 19:49 UTC
Message-ID
<xmqqpoihx6f4.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<xmqq4lzux7sc.fsf@gitster.mtv.corp.google.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 7 quoted lines
> 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'.

So no need to resend and certainly no need to make it incremental.
Show 5 quoted lines
>> +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.
>
>> +together. Then, later you decide that it might be better to have each logical
>> +chunk associated with its own commit. ...
Previous: Junio C HamanoNext: Jacob Keller
Message 3 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.