From: Shawn O. Pearce Date: Mon, 9 Jul 2007 15:55:45 +0000 (-0400) Subject: git-gui: Correct ls-tree buffering problem in browser X-Git-Tag: gitgui-0.7.5~2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/56e29f597c8f85b0dfee9ba7408f8d09fd5adb5a?hp=56e29f597c8f85b0dfee9ba7408f8d09fd5adb5a git-gui: Correct ls-tree buffering problem in browser Our file browser was showing bad output as it did not properly buffer a partial record when read from `ls-tree -z`. This did not show up on my Mac OS X system as most trees are small, the pipe buffers generally big and `ls-tree -z` was generally fast enough that all data was ready before Tcl started to read. However on my Cygwin system one of my production repositories had a large enough tree and packfile that it took a couple of pipe buffers for `ls-tree -z` to complete its dump. Signed-off-by: Shawn O. Pearce ---