[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master f6860cc 2/3: Use '--shared' for a particular
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master f6860cc 2/3: Use '--shared' for a particular git clone |
Date: |
Fri, 13 Apr 2018 16:50:58 -0400 (EDT) |
branch: master
commit f6860cc203cb5cdcacefa3f08be9033c0c390b83
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Use '--shared' for a particular git clone
This message
https://lists.nongnu.org/archive/html/lmi/2018-04/msg00063.html
demonstrates the performance improvement and explains why '--shared'
is safe for this use case, and this message
https://lists.nongnu.org/archive/html/lmi/2018-04/msg00066.html
demonstrates that it's ignored with a non-local repository.
---
install_wx.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/install_wx.sh b/install_wx.sh
index 29f05b0..cd3d8eb 100755
--- a/install_wx.sh
+++ b/install_wx.sh
@@ -48,7 +48,7 @@ then
wx_dir_parent=${wx_dir%/*}
[ -d $wx_dir_parent ] || mkdir -p $wx_dir_parent
cd $wx_dir_parent
- git clone "$wx_git_url" ${wx_dir##*/}
+ git clone --shared "$wx_git_url" ${wx_dir##*/}
fi
cd $wx_dir