@Barry: True, but it's clumsy, since you have to specify every path, in full, in the global ignore-glob file. If you move a subproject to a different location in the directory tree, you have to remember to update the ignore-glob file.
This is something I miss from Subversion (and Git, too, apparently) - the ability to set an ignore list for *just this directory*, and have that ignore list move around with the directory automatically. +1 for David's idea. On Wed, Apr 19, 2017, at 07:21 AM, Barry Arthur wrote: > This is already possible with pathed globs in your .fossil-settings/ignore- > glob file. > > On 19 April 2017 at 01:10, David Mason <dma...@ryerson.ca> wrote: >> I have had to use Git for something this semester. It was mostly a >> failure and I'll find a way to use fossil going forward. >> >> That said, I noticed one feature of Git that was very useful, and I'd >> love to see in Fossil. In Git, you can have a .gitignore file in any >> directory and it applies to that directory and nested sub- >> directories. This is very handy, especially for build directories >> and executables. For example, if I have a directory where I'm >> working on a program foo.c, I can (and do) exclude *.o in my .ignore- >> glob, but I don't really want to put "foo" there because I might have >> a file foo in another directory that I *do* want in the repo. If I >> could put "foo" in a .fossil-ignore file - in that particular >> directory - that would be very convenient. It would also be useful in >> a target directory (for Rust/cargo) or a _build directory (for >> Elixir/mix), where the only file you'd add to the repo would be the >> .fossil-ignore, where you'd put "*" so that nothing would be added. >> >> I think this would be a nice little project for someone who wants to >> delve into the fossil codebase. I would, but I'm *way* over-committed >> at the moment. >> >> ../Dave >> >> _______________________________________________ >> fossil-users mailing list >> fossil-users@lists.fossil-scm.org >> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users >> > _________________________________________________ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users