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. ...