git add -p—splitting hunks, limit is too large
- From
- Beau Martinez <beau@beaumartinez.com>
- Date
- Sep 2, 2016, 14:36 UTC
- Message-ID
- <CAEtDOuV+0CKRSu9mJa27+yQKJ-QRyNmwecrZKaaCh0St+VagZg@mail.gmail.com>
Hi git developers and community,
I'd like to inquire as to why `git add -p` can only split hunks so much. The limit is too large; why can't you split until each hunk is only a line? I often have to run `edit` and split them manually myself.
I'd like to contribute a patch to change it, although my C is rusty. Are there resources that will help me to do this?
Thank you for your time.
Beau