diff options
author | ZyX <kp-pav@yandex.ru> | 2017-04-10 13:42:31 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-04-10 13:42:31 +0300 |
commit | 3bd11f29116510baf0f7700503d0977d84bb218b (patch) | |
tree | 90b9547dd54f9ede30ab4d44cc0deca36f977579 /scripts/pvscheck.sh | |
parent | 59f0cbc282b1f110dd0281d835f52cfeb62c91d4 (diff) | |
download | rneovim-3bd11f29116510baf0f7700503d0977d84bb218b.tar.gz rneovim-3bd11f29116510baf0f7700503d0977d84bb218b.tar.bz2 rneovim-3bd11f29116510baf0f7700503d0977d84bb218b.zip |
pvsscript: Use git clone and not git worktree
Diffstat (limited to 'scripts/pvscheck.sh')
-rwxr-xr-x | scripts/pvscheck.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/pvscheck.sh b/scripts/pvscheck.sh index 00f2d481ea..0e1b9ba404 100755 --- a/scripts/pvscheck.sh +++ b/scripts/pvscheck.sh @@ -80,13 +80,13 @@ main() { if test "x$1" = "x--help" ; then help - return 0 + return fi local tgt="${1:-$PWD/../neovim-pvs}" local branch="${2:-master}" - git worktree add "$tgt" "$branch" + git clone --depth=1 --branch="$branch" . "$tgt" cd "$tgt" |