Re: switch/checkout stops halfway when it fails to write tracking config
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 20, 2026, 04:11 UTC
- Message-ID
- <xmqq8q3typsg.fsf@gitster.g>
- In-Reply-To
- <CAP8tz2JPXzq=Skokn4OtH8t6c3b+p1Wny1iX6AhXReUGvsBhuw@mail.gmail.com>
井上司 <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.