View Ticket
Not logged in
Ticket UUID: 7995323ab2ae7e8b388cfbd654bd39ebfc934357
Title: ignore-glob setting does not work on directory names
Status: Closed Type: Code_Defect
Severity: Important Priority:
Subsystem: Resolution: Works_As_Designed
Last Modified: 2010-05-03 11:05:59
Version Found In: [c56af61e5e] 2010-04-22 15:48:25
Description & Comments:
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
2. 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
3. Verify that it shows up in the fossil extra output.
$ fossil extra
fu.bar/snafu
tarfu.bar
4. Use '*.bar' for the ignore-glob setting like so:
fossil setting ignore-glob '*.bar'
5. The fu.bar directory's contents still show up in the fossil extra output:
$ fossil extra
fu.bar/snafu
6. 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/*'