git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: "Carlo Marcelo Arenas Belón" <carenas@gmail.com>
To: git@vger.kernel.org
Cc: gitster@pobox.com, chris.torek@gmail.com,
	phillip.wood@dunelm.org.uk, Johannes.Schindelin@gmx.de,
	"Carlo Marcelo Arenas Belón" <carenas@gmail.com>
Subject: [RFC PATCH 0/3] editor: teach it to protect itself from rogue editors
Date: Wed,  1 Dec 2021 19:54:43 -0800	[thread overview]
Message-ID: <20211202035446.1154-1-carenas@gmail.com> (raw)

This series reimplements a problematic series that was partially
reverted in 2.34.1, but addressing all raised concerns and being
a lot more conservative.

The first commit addresses directly the issue reported and that
required the revert, but punts several changes to future series
to make sure it is safe enough for backporting into maint if
needed, it also tries (probably too hard) to not introduce any
behaviour changes, so it might seem "incomplete", but expect
further changes that will clean it up further.

The the second one is taken from a draft[1] and is ammended by
the third, hence why this is all still an RFC.

Carlo Marcelo Arenas Belón (2):
  terminal: teach save_term to fail when not foreground
  fixup! editor: allow for saving/restoring terminal state

Junio C Hamano (1):
  editor: allow for saving/restoring terminal state

 Documentation/config.txt        |  2 ++
 Documentation/config/editor.txt |  8 ++++++++
 compat/terminal.c               | 17 ++++++++++++++++-
 editor.c                        | 22 ++++++++++++++++++++--
 4 files changed, 46 insertions(+), 3 deletions(-)
 create mode 100644 Documentation/config/editor.txt

[1] https://lore.kernel.org/git/xmqq7dcnyh5o.fsf@gitster.g/
-- 
2.34.1.460.g364565cfab


             reply	other threads:[~2021-12-02  3:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-02  3:54 Carlo Marcelo Arenas Belón [this message]
2021-12-02  3:54 ` [RFC PATCH 1/3] terminal: teach save_term to fail when not foreground Carlo Marcelo Arenas Belón
2021-12-02  3:54 ` [RFC PATCH 2/3] editor: allow for saving/restoring terminal state Carlo Marcelo Arenas Belón
2021-12-02  6:35   ` Junio C Hamano
2021-12-02  3:54 ` [RFC PATCH 3/3] fixup! " Carlo Marcelo Arenas Belón

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

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211202035446.1154-1-carenas@gmail.com \
    --to=carenas@gmail.com \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=chris.torek@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=phillip.wood@dunelm.org.uk \
    /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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).