From: Junio C Hamano <gitster@pobox.com>
To: 井上司 <inoue.tsukasa.4@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: switch/checkout stops halfway when it fails to write tracking config
Date: Mon, 19 Oct 2026 21:11:27 -0700 [thread overview]
Message-ID: <xmqq8q3typsg.fsf@gitster.g> (raw)
In-Reply-To: <CAP8tz2JPXzq=Skokn4OtH8t6c3b+p1Wny1iX6AhXReUGvsBhuw@mail.gmail.com> ("井上司"'s message of "Tue, 20 Oct 2026 10:39:14 +0900")
井上司 <inoue.tsukasa.4@gmail.com> writes:
> 7. Next steps
> I would like to work on a fix. Should checkout finish the switch and only
> report the tracking error, or should it fail before touching the worktree?
Either would be an improvement over the reported behaviour, but if
we can make it atomic "all-or-none" matter, that would be more
preferrable than switching without setting up the tracking.
next prev parent reply other threads:[~2026-10-20 4:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-20 1:39 switch/checkout stops halfway when it fails to write tracking config 井上司
2026-10-20 4:11 ` Junio C Hamano [this message]
2026-10-20 6:33 ` 井上司
2026-10-20 13:06 ` D. Ben Knoble
2026-10-20 15:08 ` 井上司
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=xmqq8q3typsg.fsf@gitster.g \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=inoue.tsukasa.4@gmail.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