From: Junio C Hamano <gitster@pobox.com>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] checkout_entry: only try to create directories when no file existed there
Date: Wed, 08 Aug 2007 15:40:25 -0700 [thread overview]
Message-ID: <7vejid1wh2.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <Pine.LNX.4.64.0708082239120.21857@racer.site> (Johannes Schindelin's message of "Wed, 8 Aug 2007 22:42:27 +0100 (BST)")
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> Now, if we have to remove it, we did a stat() before that. It succeeded.
> So we know that "a/b/c/d/e/f/" exists. It might contain some symlinks,
> but it exists.
Yes, it is exactly the thing. It might contain a/b/c as symlink
but the index does not say a/b/c _IS_ a symlink, and the code
"fixes" that. Otherwise, you would get inconsistent result from
"git checkout" depending on random symlink you happen to have in
your working tree.
next prev parent reply other threads:[~2007-08-08 22:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-08 21:00 [PATCH] checkout_entry: only try to create directories when no file existed there Johannes Schindelin
2007-08-08 21:17 ` Junio C Hamano
2007-08-08 21:42 ` Johannes Schindelin
2007-08-08 22:40 ` Junio C Hamano [this message]
2007-08-08 22:54 ` Johannes Schindelin
2007-08-08 21:27 ` David Kastrup
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=7vejid1wh2.fsf@assigned-by-dhcp.cox.net \
--to=gitster@pobox.com \
--cc=Johannes.Schindelin@gmx.de \
--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