Fossil SCM
ignore-glob setting does not work on directory names
Closed
7995323ab2ae7e8…
· opened 15 years, 11 months ago
- Type
- Code_Defect
- Priority
- —
- Severity
- Important
- Resolution
- Works_As_Designed
- Subsystem
- —
- Created
- May 2, 2010 9:10 p.m.
- Create a new fossil repository and open it in a new directory like so:
mkdir showbug cd showbug fossil new showbug.fossil fossil open showbug.fossil
- In the open fossil checkout, create a new file and a new directory with a single file in it:
touch tarfu.bar mkdir fu.bar touch fu.bar/snafu
- Verify that it shows up in the fossil extra output.
$ fossil extra fu.bar/snafu tarfu.bar
- Use '*.bar' for the ignore-glob setting like so:
fossil setting ignore-glob '*.bar'
- The fu.bar directory's contents still show up in the fossil extra output:
$ fossil extra fu.bar/snafu
- Expected behavior is that the foo.bar directory and all its contents will be ignored since its name matches the ignore-glob.
drh added on 2010-05-03 11:05:59:
The correct glob pattern would be this:
fossil setting ignore-glob '.bar/'