4msysgit-utf8-filepath icon indicating copy to clipboard operation
4msysgit-utf8-filepath copied to clipboard

git grep 時に "short read No error"

Open miau opened this issue 14 years ago • 1 comments

たとえば

git clone https://github.com/tmurakam/4msysgit-utf8-filepath.git
cd 4msysgit-utf8-filepath
git grep "short read"

とすると、公式の msysGit(Git-1.7.7-preview20111014.exe)では、

builtin/grep.c:         error(_("'%s': short read %s"), filename, strerror(errno));
sha1_file.c:                    ret = error("short read %s", strerror(errno));

のような結果が返るのですが、UTF-8ファイル名対応版(Git-1.7.6-utf8-20110821.exe)では、上記の結果以外に

error: 'COPYING': short read No error
error: 'Documentation/CodingGuidelines': short read No error
error: 'Documentation/RelNotes/1.5.0.1.txt': short read No error
error: 'Documentation/RelNotes/1.5.0.2.txt': short read No error
:

のようなエラーが大量に表示されるようです。(バージョン差異による問題でしたらすみません。)

miau avatar Oct 16 '11 08:10 miau

me too..

xhh6019 avatar Apr 27 '13 08:04 xhh6019