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

Reply via email to