diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2017-10-18 20:34:58 -0400 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2017-10-18 20:34:58 -0400 |
| commit | 643258bfd124be94fd5e4bb1ab4c77e0c7e46326 (patch) | |
| tree | b3ee66f37d911ffa84a758e697885d1a2deb035e | |
| parent | e601a1f48072df72d15ef7f13f3f7a7fdcb13301 (diff) | |
| download | vim-cfg-643258bfd124be94fd5e4bb1ab4c77e0c7e46326.tar.gz vim-cfg-643258bfd124be94fd5e4bb1ab4c77e0c7e46326.tar.xz | |
Shallow git clones by default
| -rwxr-xr-x | gen-setup.sh | 2 | ||||
| -rwxr-xr-x | setup.sh | 2 |
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 @@ -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 } |
