From: Junio C Hamano <gitster@pobox.com>
To: "Johannes Schindelin via GitGitGadget" <gitgitgadget@gmail.com>
Cc: git@vger.kernel.org, Johannes Schindelin <johannes.schindelin@gmx.de>
Subject: Re: [PATCH] getcwd(mingw): handle the case when there is no cwd
Date: Wed, 19 Jan 2022 11:27:21 -0800 [thread overview]
Message-ID: <xmqqr193mspy.fsf@gitster.g> (raw)
In-Reply-To: <pull.1120.git.1642618562012.gitgitgadget@gmail.com> (Johannes Schindelin via GitGitGadget's message of "Wed, 19 Jan 2022 18:56:01 +0000")
"Johannes Schindelin via GitGitGadget" <gitgitgadget@gmail.com>
writes:
> While technically not possible on Windows via the regular Win32 API, we
> do run the regression tests in an MSYS2 Bash which uses a POSIX
> emulation layer (the MSYS2/Cygwin runtime) where a really evil hack
> _does_ allow to delete a directory even if it is the current working
> directory.
Wow. I am not sure if I should frown or smile ;-)
> The bug fixed by this topic was noticed due to test failures while
> rebasing Microsoft's fork of Git onto v2.35.0-rc1. It may not be
> desirable to take it into Git v2.35.0 this late in the -rc phase, even
> though I do plan on integrating it into Git for Windows v2.35.0
I think we can and should take it in my tree (even direct to
'master'), as it is very clear it affects nobody other than Windows,
and even if this has any unintended negative effect, having that
common with "Git for Windows" would only help.
Thanks.
next prev parent reply other threads:[~2022-01-19 19:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-19 18:56 [PATCH] getcwd(mingw): handle the case when there is no cwd Johannes Schindelin via GitGitGadget
2022-01-19 19:27 ` Junio C Hamano [this message]
2022-01-19 22:39 ` Johannes Schindelin
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=xmqqr193mspy.fsf@gitster.g \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=gitgitgadget@gmail.com \
--cc=johannes.schindelin@gmx.de \
/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).