Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 427713 - EGit does not support double asterisks like the "standard" Git client.
Summary: EGit does not support double asterisks like the "standard" Git client.
Status: CLOSED DUPLICATE of bug 416348
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Mac OS X
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-07 16:19 EST by David Humeniuk CLA
Modified: 2014-02-07 17:32 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Humeniuk CLA 2014-02-07 16:19:59 EST
I'm new to Git and I figured out how to do ignores without using the double asterisks, but I could see needing the feature in the future.

http://git-scm.com/docs/gitignore

From the manpage:
Two consecutive asterisks ("**") in patterns matched against full pathname may have special meaning:

A leading "**" followed by a slash means match in all directories. For example, "**/foo" matches file or directory "foo" anywhere, the same as pattern "foo". "**/foo/bar" matches file or directory "bar" anywhere that is directly under directory "foo".

A trailing "/**" matches everything inside. For example, "abc/**" matches all files inside directory "abc", relative to the location of the .gitignore file, with infinite depth.

A slash followed by two consecutive asterisks then a slash matches zero or more directories. For example, "a/**/b" matches "a/b", "a/x/b", "a/x/y/b" and so on.

Other consecutive asterisks are considered invalid.
Comment 1 Robin Rosenberg CLA 2014-02-07 17:32:47 EST

*** This bug has been marked as a duplicate of bug 416348 ***