1 |
commit: 028a0a107d279f12c222e773ce0b598f6fafc680 |
2 |
Author: NP-Hardass <NP-Hardass <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 14 03:08:41 2015 +0000 |
4 |
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 15 00:26:01 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=028a0a10 |
7 |
|
8 |
Add .git dir to excluded dirs in default PORTAGE_RSYNC_OPTS |
9 |
|
10 |
Content-Disposition: attachment; |
11 |
filenameĀd-.git-dir-to-excluded-dirs-in-default-PORTAGE_RSY.patch |
12 |
|
13 |
From b49fba5c16a931d3ab041446dd8aeba4d2403260 Mon Sep 17 00:00:00 2001 |
14 |
From: NP-Hardass <NP-Hardass <AT> gentoo.org> |
15 |
Date: Sun, 13 Dec 2015 21:20:39 -0500 |
16 |
Subject: [PATCH] Add .git dir to excluded dirs in default PORTAGE_RSYNC_OPTS |
17 |
|
18 |
Adding the .git dir to the default exclude dirs should have no ill side |
19 |
effects as rsync is not allowed when .git dirs are present and should, |
20 |
on the user's side prevent future potential sync issues like those that |
21 |
we recently experienced. |
22 |
|
23 |
cnf/make.globals | 2 +- |
24 |
1 file changed, 1 insertion(+), 1 deletion(-) |
25 |
|
26 |
diff --git a/cnf/make.globals b/cnf/make.globals |
27 |
index 82d8cc1..836bb5c 100644 |
28 |
--- a/cnf/make.globals |
29 |
+++ b/cnf/make.globals |
30 |
@@ -92,7 +92,7 @@ PORTAGE_RSYNC_RETRIES="-1" |
31 |
# Number of seconds rsync will wait before timing out. |
32 |
#RSYNC_TIMEOUT="180" |
33 |
|
34 |
-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" |
35 |
+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" |
36 |
|
37 |
# The number of days after the last `emerge --sync` that a warning |
38 |
# message should be produced. |