git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC/PATCH 0/5] gitignore.5 clarifications
@ 2011-11-07  8:04 Jonathan Nieder
  2011-11-07  8:07 ` [PATCH 1/4] Documentation/gitignore: "foo/" patterns match directories, not files under them Jonathan Nieder
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Jonathan Nieder @ 2011-11-07  8:04 UTC (permalink / raw)
  To: git
  Cc: Eric Blake, Johannes Sixt, Y.G., Eli Barzilay,
	Nguyễn Thái Ngọc Duy

Hi,

Y.G. noticed that the explanation of '/' handling in the gitignore
docs are hard to follow.  Worse, it's completely wrong in a number
of ways.

Here's a series to fix a few of those.  Impact:

 - remove some complete nonsense (how did I mislead myself into
   thinking patterns without a '/' were anchored?)

 - address the frequently asked question "how do I un-ignore part of a
   directory I have ignored?"

 - relive what seems to be a bug (even when the "foo/" directory is
   ignored, a "git add foo/bar" should add new changes to the index
   when that file is already tracked)

 - some minor clarity improvements

At this point, I can hardly trust myself, so careful review for
correctness and clarity would be very welcome.

Incorporates material from
http://thread.gmane.org/gmane.comp.version-control.git/170907/focus=170916

Johannes Sixt (1):
  Documentation/gitignore: explain how to un-ignore part of a directory

Jonathan Nieder (3):
  Documentation/gitignore: "foo/" patterns match directories, not files
    under them
  Documentation: clarify effect of '/' in gitignore(5) patterns
  Documentation: unanchored gitignore patterns match basename

 Documentation/gitignore.txt |   48 ++++++++++++++++++++++++++++++------------
 1 files changed, 34 insertions(+), 14 deletions(-)

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-11-07 16:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-07  8:04 [RFC/PATCH 0/5] gitignore.5 clarifications Jonathan Nieder
2011-11-07  8:07 ` [PATCH 1/4] Documentation/gitignore: "foo/" patterns match directories, not files under them Jonathan Nieder
2011-11-07  9:57   ` Nguyen Thai Ngoc Duy
2011-11-07 16:53     ` Junio C Hamano
2011-11-07  8:08 ` [PATCH 2/4] Documentation: clarify effect of '/' in gitignore(5) patterns Jonathan Nieder
2011-11-07 10:05   ` Nguyen Thai Ngoc Duy
2011-11-07  8:09 ` [PATCH 3/4] Documentation: unanchored gitignore patterns match basename Jonathan Nieder
2011-11-07 10:18   ` Nguyen Thai Ngoc Duy
2011-11-07  8:11 ` [PATCH 4/4] Documentation/gitignore: explain how to un-ignore part of a directory Jonathan Nieder
2011-11-07 10:23   ` Nguyen Thai Ngoc Duy

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).