Re: Splitting a commit with rebase -i and keeping a commit message

2013-04-16 Thread Johannes Sixt
Am 4/17/2013 3:38, schrieb Tim Chase: > I asked this on IRC and played with some of their ideas, but struck > out with anything satisfying. I walked through [1] with the > following setup: > > git init foo > cd foo > touch a.txt b.txt > git add a.txt b.txt > git commit -m "Initial check

Re: Splitting a commit with rebase -i and keeping a commit message

2013-04-16 Thread Tim Chase
On 2013-04-16 19:29, David Aguilar wrote: > On Tue, Apr 16, 2013 at 6:38 PM, Tim Chase > wrote: > > git commit -am "Long-bodied commit comment about b.txt changes" > > # whoops, just wanted B > > Save the commit's ID here so that we can reuse its message later: > > orig_commit=$(git rev-

Re: Splitting a commit with rebase -i and keeping a commit message

2013-04-16 Thread David Aguilar
Taking a wild guess here... On Tue, Apr 16, 2013 at 6:38 PM, Tim Chase wrote: > I asked this on IRC and played with some of their ideas, but struck > out with anything satisfying. I walked through [1] with the > following setup: > > git init foo > cd foo > touch a.txt b.txt > git add a.t