From: Sven Helmberger <sven.helmberger@gmx.de>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: Junio C Hamano <gitster@pobox.com>, git@vger.kernel.org
Subject: Re: Alternative to manual editing with git add --patch
Date: Thu, 15 Oct 2015 15:37:22 +0200 [thread overview]
Message-ID: <561FAC12.5020007@gmx.de> (raw)
In-Reply-To: <alpine.DEB.1.00.1510151152470.31610@s15462909.onlinehome-server.info>
Am 15.10.2015 um 12:11 schrieb Johannes Schindelin:
>
> This is all technically sound. From a usability perspective I would wish
> more for a way to exclude or filter the lines by a pattern.
Why not do both?
The only thing that is unfortunate is that the "/" already is a command.
Which would point to either a solution along the lines of "s<range>"
being the split-by-line and "s/" being the split-by-regex?
Or is this an argument for introducing yet another interaction mode
entered when "s" fails to split further -- with simple "/" and "<range>"
being the options in that mode.
Regards,
Sven Helmberger
next prev parent reply other threads:[~2015-10-15 13:37 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-14 15:07 Alternative to manual editing with git add --patch Sven Helmberger
2015-10-14 16:30 ` Matthieu Moy
2015-10-14 16:52 ` Johannes Schindelin
2015-10-14 17:50 ` Junio C Hamano
2015-10-14 23:36 ` Sven Helmberger
2015-10-15 10:11 ` Johannes Schindelin
2015-10-15 13:37 ` Sven Helmberger [this message]
2015-10-15 15:06 ` Johannes Schindelin
2015-10-15 15:22 ` Sven Helmberger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=561FAC12.5020007@gmx.de \
--to=sven.helmberger@gmx.de \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).