mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-04 01:34:25 +00:00 
			
		
		
		
	pvsscript: Use git clone and not git worktree
This commit is contained in:
		@@ -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"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user