From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fhigh-b6-smtp.messagingengine.com (fhigh-b6-smtp.messagingengine.com [202.12.124.157]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B5AB74749E7 for ; Tue, 28 Jul 2026 22:45:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.157 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785278707; cv=none; b=f3wH0j/NNwPmI0dSnrLxaJiZrcyialPdFIkfIE/0OeYJ6srT9S0HGGJ1tl+SDk8VrBVeD2/RqxG3T1PjuMks8LrSdHHFaDd23Zg6bSKKYYcTAK3bcDkrlR5zSIGFg7WBVJDgoiR1S07LsKcNULwRfYBakI9aEsTd9BxVQF+bTJY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785278707; c=relaxed/simple; bh=T/wddv4dHiT40/2l06Qb9FeU6qOpjFgijbBpOPPNLEw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=K2MhYn7IgYUHe0SS7/cPkRJArcu1B3GyGHvWRtfaNXGyxjL+Hc8Hn64hhCjWAPY9FF69uf1fMNPBQujjTxqyNPmbSwWX07WduEVkUxGdKz+0AJ8/u+yEwLPQ2V9vUzRFWqyotYsIP2H1mVKIw36RRL4oYFEiK1jrXFHM+dts1t0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=pobox.com; spf=pass smtp.mailfrom=pobox.com; dkim=pass (2048-bit key) header.d=pobox.com header.i=@pobox.com header.b=X/GNYPRy; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=O/jfoa0o; arc=none smtp.client-ip=202.12.124.157 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=pobox.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pobox.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=pobox.com header.i=@pobox.com header.b="X/GNYPRy"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="O/jfoa0o" Received: from phl-compute-12.internal (phl-compute-12.internal [10.202.2.52]) by mailfhigh.stl.internal (Postfix) with ESMTP id 04AE77A0465; Tue, 28 Jul 2026 18:45:04 -0400 (EDT) Received: from phl-frontend-01 ([10.202.2.160]) by phl-compute-12.internal (MEProxy); Tue, 28 Jul 2026 18:45:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pobox.com; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1785278704; x=1785365104; bh=kfzRRk1bRb fMFwzFc1g9tCQJPb7uSSUuxNWvYOYXV0U=; b=X/GNYPRyszNkRheorbmYl+iLqM 3I5bnaZSon6ZbjEacIcMKVpJbROgTLojSQWGdg1qseMfwp7nKd1lKnaITd26SCU4 66KiZtNdh4lajHTCxJJFU0hCqgzNlIkfcYr0iG6G8pSHy5eWOyGjYcm8gBk+yhsI DnZQCgRJnPLsjJ6uudUDap3z52wcBlNsaKNsPbhm7p/6wfjjZtWWRbpms1xlP4b6 FuNRKdEy/JA4+HRmdyhr8DmX+rbKM8PMe0qMAlAWDsgf3TDx2pJgdLRLnRW6nTtT 5Bj7ulie6uVBJG1ET5ZeZ88y4bm1UzLFI9LH1VD9/A7GX+auetqRQe09CQew== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1785278704; x=1785365104; bh=kfzRR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GxBFzpPCNQ3bxOplGUTpCBs2tcRq2xrmwS67mB4egBtAQ X-ME-Proxy: Feedback-ID: if26b431b:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 28 Jul 2026 18:45:04 -0400 (EDT) From: Junio C Hamano To: "Johannes Schindelin via GitGitGadget" Cc: git@vger.kernel.org, Johannes Schindelin Subject: Re: [PATCH] mingw: skip symlink type auto-detection for network share targets In-Reply-To: (Johannes Schindelin via GitGitGadget's message of "Tue, 28 Jul 2026 11:46:35 +0000") References: Date: Tue, 28 Jul 2026 15:45:02 -0700 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain "Johannes Schindelin via GitGitGadget" writes: > From: Johannes Schindelin > > On Windows, symbolic links come in two flavors: file symlinks and > directory symlinks. Since Git was born on Linux where this distinction > does not exist, Git for Windows has to auto-detect the type by looking > at the target. When the target does not yet exist at symlink creation > time, Git for Windows creates a "phantom" file symlink and later, once > checkout is complete, calls `CreateFileW()` on the target to check > whether it is actually a directory. > ... > Note that there are legitimate paths starting with a single backslash > that are _not_ network paths: drive-less absolute paths are interpreted > as relative to the current working directory's drive. In practice, these > are highly uncommon (and brittle, just one working directory change away > from breaking). In any case, the only consequence is now that the > symlink type of those has to be specified via Git attributes, is all. Thanks, will queue.