From: Joey Hess Date: Thu, 22 Jan 2009 07:54:34 +0000 (-0500) Subject: gitless: Use --shared when cloning repos, avoids problems with hard links etc. X-Git-Url: https://git.madduck.net/code/myrepos.git/commitdiff_plain/4eb2cd7eadf0f70bf0e88d2356bff037314885ff?ds=inline gitless: Use --shared when cloning repos, avoids problems with hard links etc. --- diff --git a/debian/changelog b/debian/changelog index d9bd2a8..ccc021d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +mr (0.38) UNRELEASED; urgency=low + + * gitless: Use --shared when cloning repos, avoids problems with hard links + etc. + + -- Joey Hess Thu, 22 Jan 2009 02:54:12 -0500 + mr (0.37) unstable; urgency=low * Add "gitless" file to lib. diff --git a/lib/gitless b/lib/gitless index e686e58..20c2e5e 100644 --- a/lib/gitless +++ b/lib/gitless @@ -31,7 +31,7 @@ lib = cd "$dir" else if [ ! -d "$remotebase/$dir.$hostname" ]; then - git clone --no-checkout "$remotebase/$dir.git" "$remotebase/$dir.$hostname" + git clone --shared --no-checkout "$remotebase/$dir.git" "$remotebase/$dir.$hostname" fi mkdir -p "$dir" cd "$dir"