runtime(tar): comment out strange error condition check
Commit:
https://github.com/vim/vim/commit/67abf1592c83c910c7815478f67e0a8989d51417
Author: Christian Brabandt <
c...@256bit.org>
Date: Tue Nov 14 17:15:17 2023 +0100
runtime(tar): comment out strange error condition check
Signed-off-by: Christian Brabandt <
c...@256bit.org>
diff --git a/runtime/autoload/tar.vim b/runtime/autoload/tar.vim
index 52369a42c..adfc10c92 100644
--- a/runtime/autoload/tar.vim
+++ b/runtime/autoload/tar.vim
@@ -1,7 +1,7 @@
" tar.vim: Handles browsing tarfiles
" AUTOLOAD PORTION
-" Date: Nov 05, 2023
-" Version: 32a (with modifications from the Vim Project)
+" Date: Nov 14, 2023
+" Version: 32b (with modifications from the Vim Project)
" Maintainer: Charles E Campbell <Ncamp...@SdrPchip.AorgM-NOSPAM>
" License: Vim License (see vim's :help license)
"
@@ -208,27 +208,24 @@ fun! tar#Browse(tarfile)
" call Dret("tar#Browse : a:tarfile<".a:tarfile.">")
return
endif
- " If there was an error message, the last line probably matches some keywords but
- " should also contain whitespace for readability. Make sure not to match a
- " filename that contains the keyword (error/warning/unrecognized/inappropriate, etc)
"
- " FIXME:is this actually necessary? In case of an error, we should probably
- " have noticed in the if statement above since tar should have exited
- " with a non-zero exit code.
- if line("$") == curlast || ( line("$") == (curlast + 1) &&
- \ getline("$") =~# '