aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2017-10-18 20:34:58 -0400
committerMitch Riedstra <mitch@riedstra.us>2017-10-18 20:34:58 -0400
commit643258bfd124be94fd5e4bb1ab4c77e0c7e46326 (patch)
treeb3ee66f37d911ffa84a758e697885d1a2deb035e
parente601a1f48072df72d15ef7f13f3f7a7fdcb13301 (diff)
downloadvim-cfg-643258bfd124be94fd5e4bb1ab4c77e0c7e46326.tar.gz
vim-cfg-643258bfd124be94fd5e4bb1ab4c77e0c7e46326.tar.xz
Shallow git clones by default
-rwxr-xr-xgen-setup.sh2
-rwxr-xr-xsetup.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/gen-setup.sh b/gen-setup.sh
index 00d2cf7..878a603 100755
--- a/gen-setup.sh
+++ b/gen-setup.sh
@@ -37,7 +37,7 @@ clone() {
elif ! [ -d "$DIR" ] ; then
mkdir -p "$DIR"
cd "$DIR"
- git clone "$URL" .
+ git clone --depth=1 "$URL" .
fi
cd $WD
}' > setup.sh
diff --git a/setup.sh b/setup.sh
index 77ee4d9..a980c14 100755
--- a/setup.sh
+++ b/setup.sh
@@ -10,7 +10,7 @@ clone() {
elif ! [ -d "$DIR" ] ; then
mkdir -p "$DIR"
cd "$DIR"
- git clone "$URL" .
+ git clone --depth=1 "$URL" .
fi
cd $WD
}