2012/11/25 Stefan Bellon <sbel...@sbellon.de>:
> Attached you'll find a patch that adds the "unicode-glob" to the
> settings and respects its setting in the check-in. Additionally I
> disabled all the check-in warnings (crnl, binary and unicode) in case
> --force/-f is set on commit.

This patch is now in trunk already, but I'm just wondering if the
"unicode-glob"wouldn't better be named "encoding-glob". The
actual purpose of this warning is not whether some file
contains unicode, the fact that the encoding is known
to be not UTF-8 is what's really matters: those files
cannot be displayed correctly in the fossil web UI.

This would allow to enhance the file content checking such
that it detects invalid utf-8 as well, without the need to add a
new *-glob setting. The concept can be found in the
"improve_commit_warning" branch. Feedback appreciated.

Regards,
       Jan Nijtmans
_______________________________________________
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