From b49fba5c16a931d3ab041446dd8aeba4d2403260 Mon Sep 17 00:00:00 2001 From: NP-Hardass Date: Sun, 13 Dec 2015 21:20:39 -0500 Subject: [PATCH] Add .git dir to excluded dirs in default PORTAGE_RSYNC_OPTS Adding the .git dir to the default exclude dirs should have no ill side effects as rsync is not allowed when .git dirs are present and should, on the user's side prevent future potential sync issues like those that we recently experienced. --- cnf/make.globals | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cnf/make.globals b/cnf/make.globals index 82d8cc1..836bb5c 100644 --- a/cnf/make.globals +++ b/cnf/make.globals @@ -92,7 +92,7 @@ PORTAGE_RSYNC_RETRIES="-1" # Number of seconds rsync will wait before timing out. #RSYNC_TIMEOUT="180" -PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" +PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" # The number of days after the last `emerge --sync` that a warning # message should be produced. -- 2.6.4