public inbox for git@vger.kernel.org
 help / color / mirror / Atom feed
From: Konstantin Khomoutov <kostix@bswap.ru>
To: Git Mailing List <git@vger.kernel.org>
Subject: Re: Pressing Ctrl-C during 'git checkout <branch-name>' messes up the repository
Date: Mon, 17 Jul 2023 12:18:49 +0300	[thread overview]
Message-ID: <20230717091849.z7bvqbygbpg4sluk@carbon> (raw)
In-Reply-To: <ZLM4sTUjBQt4QMfG@tapette.crustytoothpaste.net>

"brian m. carlson" <sandals@crustytoothpaste.net> writes:

> I would disagree here.  When the user has hit Ctrl-C, they want to
> interrupt the operation.  That's literally why a SIGINT (interrupt)
> signal is sent.

Just a fun remark: that "INT" in SIGINT stands for "INTeractive attention",
and IIUC, relabeling it as a request for interruption in the public
consciousness is likely the result of that signal having been left in its
default disposition in most of the software which was in use then, which
naturally made the signal work as a termination signal ;-)


  parent reply	other threads:[~2023-07-17 10:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-15  4:26 Pressing Ctrl-C during 'git checkout <branch-name>' messes up the repository Yuri
2023-07-16  0:24 ` brian m. carlson
2023-07-16  1:15   ` Junio C Hamano
2023-07-17  0:16   ` Yuri
2023-07-17  9:18   ` Konstantin Khomoutov [this message]
2023-07-17 16:35     ` Andreas Schwab

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=20230717091849.z7bvqbygbpg4sluk@carbon \
    --to=kostix@bswap.ru \
    --cc=git@vger.kernel.org \
    /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