mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-04 01:34:25 +00:00 
			
		
		
		
	vim-patch.sh: remove --posix from patch invocation
This was supposed to avoid creating *.orig. It doesn't do that, and worse, it also seems to prevent new files from being created.
This commit is contained in:
		@@ -234,7 +234,7 @@ stage_patch() {
 | 
				
			|||||||
  output="$(commit_message | git commit --allow-empty --file 2>&1 -)" &&
 | 
					  output="$(commit_message | git commit --allow-empty --file 2>&1 -)" &&
 | 
				
			||||||
    echo "✔ ${output}" ||
 | 
					    echo "✔ ${output}" ||
 | 
				
			||||||
    (echo "✘ ${output}"; false)
 | 
					    (echo "✘ ${output}"; false)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if test -n "$try_apply" ; then
 | 
					  if test -n "$try_apply" ; then
 | 
				
			||||||
    if ! check_executable patch; then
 | 
					    if ! check_executable patch; then
 | 
				
			||||||
      printf "\n✘ 'patch' command not found\n"
 | 
					      printf "\n✘ 'patch' command not found\n"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user