summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Mitz <mitza@ociweb.com>2018-01-11 12:46:05 -0600
committerAdam Mitz <mitza@ociweb.com>2018-01-11 12:46:05 -0600
commit91ee8eed1e4805f11aca916cac104147e186afb8 (patch)
tree927c4470e762c6d9aa0d48a9cc0c81e2af54722b
parent1aeb77fcd2fbddeb28b63eaa217cec12f8b8397f (diff)
downloadMPC-91ee8eed1e4805f11aca916cac104147e186afb8.tar.gz
Thu Jan 11 18:43:46 UTC 2018 Adam Mitz <mitza@ociweb.com>
clone_build_tree.pl: Treat the .git directory the same as .svn and CVS.
-rw-r--r--ChangeLog6
-rwxr-xr-xclone_build_tree.pl1
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 28d4bdd3..119ec633 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Thu Jan 11 18:43:46 UTC 2018 Adam Mitz <mitza@ociweb.com>
+
+ * clone_build_tree.pl:
+
+ Treat the .git directory the same as .svn and CVS.
+
Mon Aug 7 14:23:34 UTC 2017 Adam Mitz <mitza@ociweb.com>
* docs/README:
diff --git a/clone_build_tree.pl b/clone_build_tree.pl
index 19f40cb3..a1e757bd 100755
--- a/clone_build_tree.pl
+++ b/clone_build_tree.pl
@@ -49,6 +49,7 @@ my $hasSymlink = ($@ eq '');
sub findCallback {
my $matches = !(/^CVS\z/s && ($File::Find::prune = 1) ||
/^\.svn\z/s && ($File::Find::prune = 1) ||
+ /^\.git\z/s && ($File::Find::prune = 1) ||
defined $exclude &&
/^$exclude\z/s && ($File::Find::prune = 1) ||
/^\.cvsignore\z/s && ($File::Find::prune = 1) ||