diff options
author | Adam Mitz <mitza@ociweb.com> | 2018-01-11 12:46:05 -0600 |
---|---|---|
committer | Adam Mitz <mitza@ociweb.com> | 2018-01-11 12:46:05 -0600 |
commit | 91ee8eed1e4805f11aca916cac104147e186afb8 (patch) | |
tree | 927c4470e762c6d9aa0d48a9cc0c81e2af54722b | |
parent | 1aeb77fcd2fbddeb28b63eaa217cec12f8b8397f (diff) | |
download | MPC-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-- | ChangeLog | 6 | ||||
-rwxr-xr-x | clone_build_tree.pl | 1 |
2 files changed, 7 insertions, 0 deletions
@@ -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) || |