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.
  1. 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
  1. 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
  1. Verify that it shows up in the fossil extra output.
$ fossil extra
fu.bar/snafu
tarfu.bar
  1. Use '*.bar' for the ignore-glob setting like so:
fossil setting ignore-glob '*.bar'
  1. The fu.bar directory's contents still show up in the fossil extra output:
$ fossil extra
fu.bar/snafu
  1. 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/'

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button