Skip to content

Commit fd33179

Browse files
Revert "Also run git gc after nvm upgraded"
This reverts commit ce7f6d6.
1 parent e5316dd commit fd33179

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

install.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,6 @@ install_nvm_from_git() {
7474
echo >&2 "Failed to update nvm, run 'git fetch' in $INSTALL_DIR yourself."
7575
exit 1
7676
}
77-
echo "=> Compressing and cleaning up git repository"
78-
if ! command git --git-dir="$INSTALL_DIR"/.git --work-tree="$INSTALL_DIR" gc --aggressive --prune=now ; then
79-
echo >&2 "Your version of git is out of date. Please update it!"
80-
fi
8177
else
8278
# Cloning to $INSTALL_DIR
8379
echo "=> Downloading nvm from git to '$INSTALL_DIR'"

0 commit comments

Comments
 (0)