From: Marc Strapetz <marc.strapetz@syntevo.com>
To: Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: .gitattributes escape character?
Date: Wed, 03 Nov 2010 18:13:05 +0100 [thread overview]
Message-ID: <4CD19821.2010103@syntevo.com> (raw)
In-Reply-To: <AANLkTinNctmWpshBeSTzZRm6+EJ=Cjdpoaj4Aon+52_b@mail.gmail.com>
>> Is there an escape character which may be used in .gitattributes to
>> escape e.g. the space-character? Could octal-escaping help here (I
>> didn't succeed)? Thanks for any hints.
>
> You mean escape the path part in .gitattributes? Sorry, no.
>
> I think we can teach git about path quoting though. A leading double
> quote means the path is quoted, C-style.
But this is not supposed to work already? At least, when quoting the
whole path:
"/a file" -text
git check-attr tells me 'file" is not a valid attribute'.
Marc.
next prev parent reply other threads:[~2010-11-03 17:13 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-03 12:24 .gitattributes escape character? Marc Strapetz
2010-11-03 15:47 ` Nguyen Thai Ngoc Duy
2010-11-03 17:13 ` Marc Strapetz [this message]
2010-11-03 21:03 ` Kevin Ballard
2010-11-04 13:55 ` [PATCH] attr: support quoting pathname patterns in C style Nguyễn Thái Ngọc Duy
2010-11-04 17:21 ` Sverre Rabbelier
2010-11-04 22:53 ` Eric Sunshine
2010-11-05 2:02 ` Nguyen Thai Ngoc Duy
2010-11-05 16:58 ` Junio C Hamano
2010-11-05 21:46 ` Kevin Ballard
2010-11-08 18:40 ` Junio C Hamano
2010-11-08 21:56 ` Kevin Ballard
2010-11-09 7:48 ` Johannes Sixt
2010-11-09 8:08 ` Kevin Ballard
2010-11-10 0:07 ` Junio C Hamano
2010-11-10 0:27 ` Kevin Ballard
2010-11-06 8:28 ` Marc Strapetz
2010-11-07 8:05 ` Nguyễn Thái Ngọc Duy
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=4CD19821.2010103@syntevo.com \
--to=marc.strapetz@syntevo.com \
--cc=git@vger.kernel.org \
--cc=pclouds@gmail.com \
/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).