Re: [PATCH] gitattributes.txt: mention exceptions to gitignore rules

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Marcin =?iso-8859-2?q?Wi=B6nicki?=
Date: Tuesday, January 4, 2011 - 8:40 am

On Tue, 04 Jan 2011 20:31:55 +0700, Nguyễn Thái Ngọc Duy wrote:


I'm afraid that is not all. The rules I've inferred:

  1. No pattern will match directory tree.
  2. It is only possible to match on path components.
  3. If pattern contains slash it is treated as absolute.

Example for file: d1/d2/f1.c

Patterns that match:
  *.c
  d1/d2/*
  /d1/d2/*
  */d2/*
  */*/*

Patterns that do not match but should:
  d2/*
  d2/
  d2
  d1/d2
  /d1/d2


--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] gitattributes.txt: mention exceptions to gitignore ..., =?UTF-8?q?Nguy=E1=BB ..., (Tue Jan 4, 6:31 am)
Re: [PATCH] gitattributes.txt: mention exceptions to gitig ..., Marcin =?iso-8859-2? ..., (Tue Jan 4, 8:40 am)
Re: [PATCH] gitattributes.txt: mention exceptions to gitig ..., Marcin =?iso-8859-2? ..., (Tue Jan 4, 2:17 pm)