how to split a hunk
- From
- bill lam <cbill.lam@gmail.com>
- Date
- Oct 28, 2009, 02:21 UTC
- Message-ID
- <20091028022105.GE3938@debian.b2j>
There are occasions where diff of a file is
- aaaa + bbbb + cccc
I want to add lines bbbb and cccc as separated commits, but git-add -p seem cannot further split this hunk. Do I have no choice but to edit it by hand and commit the bbbb and then edit the file to add back the cccc?
-- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3