From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: Julien Grall <julien.grall@linaro.org>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
"patches@linaro.org" <patches@linaro.org>
Subject: Re: [PATCH V2] .gitignore: Add vim swap files
Date: Fri, 10 May 2013 19:15:30 +0100 [thread overview]
Message-ID: <518D3942.4060208@citrix.com> (raw)
In-Reply-To: <20877.14289.660009.193592@mariner.uk.xensource.com>
On 10/05/13 19:09, Ian Jackson wrote:
> Andrew Cooper writes ("Re: [PATCH V2] .gitignore: Add vim swap files"):
>> On 09/05/13 17:17, Julien Grall wrote:
>>> Signed-off-by: Julien Grall <julien.grall@linaro.org>
>>>
>>> Changes in v2:
>>> - update .hgignore
>> Much appreciated.
>>
>> Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
> Nacked-by: Ian Jackson <ian.jackson@eu.citrix.com>
>
>>> diff --git a/.hgignore b/.hgignore
>>> index 6b432f7..4bd24fc 100644
>>> --- a/.hgignore
>>> +++ b/.hgignore
>>> @@ -11,6 +11,7 @@
>>> .*\.tar\.bz2$
>>> .*\.tar\.gz$
>>> .*~$
>>> +.swp$
> AIUI the format of .hgignore files is lines containing
> implicitly-^-anchored regexps.
Nope - the documentation states otherwise
http://www.selenic.com/mercurial/hgignore.5.html
"Neither glob nor regexp patterns are rooted. A glob-syntax pattern of
the form *.c will match a file ending in .c in any directory, and a
regexp pattern of the form \.c$ will do the same. To root a regexp
pattern, start it with ^."
>
> So this is wrong. Please copy the (hideous) syntax of the other
> entries.
It is wrong because it failes to escape the literal . (which admittedly
I missed when reviewing it)
Just because the rest of the .hgignore is wrong doesn't mean new
additions shouldn't be.
~Andrew
>
> Furthermore, while it's good to update both ignore files I think it's
> fine to update only one of them if that's what's annoying you.
>
> Ian.
next prev parent reply other threads:[~2013-05-10 18:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-09 16:17 [PATCH V2] .gitignore: Add vim swap files Julien Grall
2013-05-09 16:24 ` Andrew Cooper
2013-05-10 18:09 ` Ian Jackson
2013-05-10 18:12 ` Ian Campbell
2013-05-10 18:43 ` Ian Jackson
2013-05-10 18:15 ` Andrew Cooper [this message]
2013-05-10 18:21 ` Ian Campbell
2013-05-10 13:04 ` Ian Campbell
2013-05-10 13:14 ` Ian Campbell
2013-05-10 13:33 ` Ian Campbell
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=518D3942.4060208@citrix.com \
--to=andrew.cooper3@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=julien.grall@linaro.org \
--cc=patches@linaro.org \
--cc=xen-devel@lists.xensource.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.