git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Johannes Sixt <j6t@kdbg.org>
Cc: Alexandre Remy <alexandre.remy.contact@gmail.com>, git@vger.kernel.org
Subject: Re: Git pathspecs difference in behavior between linux (wsl) and windows
Date: Fri, 14 May 2021 05:08:34 +0900	[thread overview]
Message-ID: <xmqqeeeabdml.fsf@gitster.g> (raw)
In-Reply-To: <68a4ebd3-3c80-8983-9a26-f205debc4b5b@kdbg.org> (Johannes Sixt's message of "Thu, 13 May 2021 15:02:32 +0200")

Johannes Sixt <j6t@kdbg.org> writes:

> Am 13.05.21 um 11:31 schrieb Alexandre Remy:
>> I have an additional question, does double-quotes be safely used in
>> both windows (that's ok) and linux shell  for pathspecs (git status --
>> "src/test.js") in case of spaces in the path?
>
> They can be used in both POSIX shell and Windows CMD and, I would
> assume, also in the PowerShell. Note though, that there are subtle
> differences when other special characters occur between double-quotes,
> notably the backslash. Please use your favorite search engine to learn more.

And a dollar sign, in addition to the backslash?

  reply	other threads:[~2021-05-13 20:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-13  6:57 Git pathspecs difference in behavior between linux (wsl) and windows Alexandre Remy
2021-05-13  7:49 ` Johannes Sixt
2021-05-13  8:05   ` Alexandre Remy
2021-05-13  9:31     ` Alexandre Remy
2021-05-13 13:02       ` Johannes Sixt
2021-05-13 20:08         ` Junio C Hamano [this message]
2021-05-13 21:03           ` Johannes Sixt
2021-05-13 21:17             ` Alexandre Remy

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

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xmqqeeeabdml.fsf@gitster.g \
    --to=gitster@pobox.com \
    --cc=alexandre.remy.contact@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=j6t@kdbg.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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).