commit: 028a0a107d279f12c222e773ce0b598f6fafc680 Author: NP-Hardass <NP-Hardass <AT> gentoo <DOT> org> AuthorDate: Mon Dec 14 03:08:41 2015 +0000 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org> CommitDate: Tue Dec 15 00:26:01 2015 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=028a0a10
Add .git dir to excluded dirs in default PORTAGE_RSYNC_OPTS Content-Disposition: attachment; filenameĀd-.git-dir-to-excluded-dirs-in-default-PORTAGE_RSY.patch >From b49fba5c16a931d3ab041446dd8aeba4d2403260 Mon Sep 17 00:00:00 2001 From: NP-Hardass <NP-Hardass <AT> gentoo.org> 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.
