All of lore.kernel.org
 help / color / mirror / Atom feed
* how to split a hunk
@ 2009-10-28  2:21 bill lam
  2009-10-28  3:11 ` Geert Bosch
  2009-10-28 13:06 ` Thomas Rast
  0 siblings, 2 replies; 5+ messages in thread
From: bill lam @ 2009-10-28  2:21 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-10-28 15:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-28  2:21 how to split a hunk bill lam
2009-10-28  3:11 ` Geert Bosch
2009-10-28 15:26   ` bill lam
2009-10-28 13:06 ` Thomas Rast
2009-10-28 15:16   ` bill lam

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.