aboutsummaryrefslogtreecommitdiff
path: root/cnf
diff options
context:
space:
mode:
authorNP-Hardass <NP-Hardass@gentoo.org>2015-12-13 22:08:41 -0500
committerBrian Dolbec <dolsen@gentoo.org>2015-12-14 16:26:01 -0800
commit028a0a107d279f12c222e773ce0b598f6fafc680 (patch)
treead52104a19dccae36f2c4befc9b13c99a7a0e38a /cnf
parent_dep_check_composite_db._visible: verify that highest_visible matches (bug 56... (diff)
downloadportage-028a0a107d279f12c222e773ce0b598f6fafc680.tar.gz
portage-028a0a107d279f12c222e773ce0b598f6fafc680.tar.bz2
portage-028a0a107d279f12c222e773ce0b598f6fafc680.zip
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@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.
Diffstat (limited to 'cnf')
-rw-r--r--cnf/make.globals2
1 files changed, 1 insertions, 1 deletions
diff --git a/cnf/make.globals b/cnf/make.globals
index 82d8cc170..836bb5c5b 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.