3

Possible Duplicate:
Splitting a hunk with magit

When you review your changes sections you get the chunks as you would when you do for example "git add -p" by default, but I can't find an option to split chunks into smaller chunks as you would by choosing the "s" option when issuing commands with -p, so is it possible?

Community
  • 1
  • 1
gonz
  • 5,226
  • 5
  • 39
  • 54
  • You're right my question is a duplicate, didn't find it when I searched. Thank you. – gonz Jun 25 '12 at 21:01

2 Answers2

1

As noted by phils above this is a duplicate of Splitting a hunk with magit.

His solution over there worked great for me:

"You can also use - and + to decrease or increase the extent of the hunks in the diff (and 0 resets)"

Community
  • 1
  • 1
gonz
  • 5,226
  • 5
  • 39
  • 54
0

You can split it manually with "e". It will open your standard editor with the instructions.

YuriAlbuquerque
  • 2,178
  • 1
  • 11
  • 19