Jan Nieuwenhuizen <jann...@gnu.org> skribis: >> 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.
I prefer --exclude-vcs too because that’s the main use case, so it’s best to have a shortcut. > From 060f9123acd4c6771e976c5442361285f8c8bc89 Mon Sep 17 00:00:00 2001 > From: Jan Nieuwenhuizen <jann...@gnu.org> > Date: Tue, 6 Sep 2016 08:28:33 +0200 > Subject: [PATCH] scripts: hash: Add --exclude-vcs option. > > * guix/scripts/hash.scm (show-help): Add help text for --exclude-vcs option. > (%options): Add --exclude-vcs option. > (guix-hash): Handle exclude-vcs option. > * doc/guix.texi ("Invoking guix hash"): Update doc. > * tests/guix-hash.sh: Add test. OK for me! If there are no objections, I’ll commit this one. Ludo’.