Ludovic Courtès writes: Hi! >> Added an -g/--exclude-.git option for guix hash. It is very specific: >> it skips toplevel .git directory. WDYT? > > Good idea! Thanks... > What about --exclude-vcs/-x? Tar uses that name, although with slightly > different semantics (info "(tar) exclude"). Yes, I like this even better than my 2nd --exclude=FILE patch. > Rather make the lambda a top-level procedure, like: > > (define (vcs-file? file stat) > (case (stat:type stat) > ((directory) > (member (basename file) '(".git" ".svn" "CVS" …))) > (else > #f))) Nice! > Could you send an updated patch? Sure, attached. > Thank you for making our lives easier! :-) :-) Exactly, the mv .git ../dot-git ... drill was getting boring. Greetings, Jan