git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Autosplit option for git add -p
@ 2024-06-07  9:05 Konstantin Tokarev
  2024-06-08 10:43 ` Christian Couder
  0 siblings, 1 reply; 4+ messages in thread
From: Konstantin Tokarev @ 2024-06-07  9:05 UTC (permalink / raw)
  To: git

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.

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

end of thread, other threads:[~2024-06-08 18:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-07  9:05 Autosplit option for git add -p Konstantin Tokarev
2024-06-08 10:43 ` Christian Couder
2024-06-08 10:47   ` Dragan Simic
2024-06-08 18:53   ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).