Package: etckeeper
Version: 1.12

I'm tracking whole root path / and have a .hgignore that ignores everything.
That lets me add files only explicitly allover / like /etc /usr/local or even
/.hg/hgignore.local
The pre-commit currently  runs a find on / which does not return for long time.

Please take care of the ignore file and only run pre-commit on not ignored
files.

As for /etc/etckeeper/pre-commit.d/20warn-problem-files I already disabled the
expensive check by moving the $AVOID check earlier:

if [[ -n $AVOID_SPECIAL_FILE_WARNING ]]; then

    if [ "$VCS" = bzr ] || [ "$VCS" = darcs ]; then
...

But then 30store-metadata has the same issue with find.
I'm not sure how to solve it, maybe run the check only on files in $(hg
manifest) that are already tracked.

https://forums.gentoo.org/viewtopic-p-7604234.html#7604234

Best regards,
Massimo


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to