Autosplit option for git add -p
- From
- Konstantin Tokarev <annulen@yandex.ru>
- Date
- Jun 7, 2024, 09:05 UTC
- Message-ID
- <20240607120530.74297526@yuvnserver>
Hello all,
Is there any option in git to make `git add -p` split hunks by default, just like 's' was pressed automatically? If no, how would one implement such an option?
My use case: I've recently started working with big LaTeX document having every paragraph as a single line. As a result, hunks quickly become larger than screen, so that splitting is highly desirable.
Thanks.