Patch Set 2: No score

Question: How does EGit want to handle the following scenario:

Say I have the following tree structure:

project -> src -> resource.c

.gitignore:
/*/*.c

src/.gitignore:
<empty>

And I attempt to ignore src/resource.c -- according to .gitignore rules this file is already ignored since it matches one of the patterns in a parent directory. What next?

Should EGit add '/resource.c' to the src/.gitignore? Should it do nothing? Should it do nothing, but indicate that the resource was already ignored higher up in the parent directory? I would prefer the third option, though it's up to you whether having a dialogue box would be too disruptive. Currently the code does nothing in this scenario.

I've attached my current list of compatibility tests to the Eclipse bug.

Cheers :)
-Charley