This is an automated email from the ASF dual-hosted git repository.

cfnatali pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git


The following commit(s) were added to refs/heads/master by this push:
     new a091818d9 Copy .gitignore instead of creating a symlink in setup-dev.
a091818d9 is described below

commit a091818d909bd074bf7da87de793f3a40546b1c2
Author: Andreas Peters <a...@aventer.biz>
AuthorDate: Thu Apr 21 21:05:17 2022 +0200

    Copy .gitignore instead of creating a symlink in setup-dev.
    
    `.gitignore` symlinks are ignored by `git` version 2.32.0 and above.
    See https://github.com/git/git/blob/master/Documentation/RelNotes/2.32.0.txt
---
 support/setup-dev.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/support/setup-dev.sh b/support/setup-dev.sh
index d17123483..2112c8fa6 100755
--- a/support/setup-dev.sh
+++ b/support/setup-dev.sh
@@ -27,7 +27,8 @@ __EOF__
 fi
 
 if test ! -e .gitignore; then
-  ln -s support/gitignore .gitignore
+  # Git version 2.32.0 does not support gitignore as symlink 
(https://github.com/git/git/blob/master/Documentation/RelNotes/2.32.0.txt)
+  cp support/gitignore .gitignore
 fi
 
 if test ! -e .reviewboardrc; then

Reply via email to