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

2017-02-16 Thread Jacob Keller
On Thu, Feb 16, 2017 at 11:49 AM, Junio C Hamano wrote: > Junio C Hamano writes: > >> Jacob Keller 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 bee

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

2017-02-16 Thread Junio C Hamano
Junio C Hamano writes: > Jacob Keller 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 easie

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

2017-02-16 Thread Junio C Hamano
Jacob Keller 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? > +Split a commit apart into a sequence of commits:: > ++ >

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

2017-02-15 Thread Jacob Keller
From: Jacob Keller It is often useful to break a commit into multiple parts that are more logical separations. This can be tricky to learn how to do without the brute-force method if re-writing code or commit messages from scratch. Add a section to the git-reset documentation which shows an exam