From fd33179119954ee653bf7354e74cd4db62bda94b Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Mon, 14 Nov 2016 06:19:29 +0800 Subject: [PATCH] Revert "Also run git gc after nvm upgraded" This reverts commit ce7f6d6e5287fade16c41c7a18dd3a2043928efe. --- install.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/install.sh b/install.sh index 819f9b8..bff211c 100755 --- a/install.sh +++ b/install.sh @@ -74,10 +74,6 @@ install_nvm_from_git() { echo >&2 "Failed to update nvm, run 'git fetch' in $INSTALL_DIR yourself." exit 1 } - echo "=> Compressing and cleaning up git repository" - if ! command git --git-dir="$INSTALL_DIR"/.git --work-tree="$INSTALL_DIR" gc --aggressive --prune=now ; then - echo >&2 "Your version of git is out of date. Please update it!" - fi else # Cloning to $INSTALL_DIR echo "=> Downloading nvm from git to '$INSTALL_DIR'"