author | Johannes Sixt <johannes.sixt@telecom.at> | |
Tue, 30 Sep 2008 06:39:29 +0000 (08:39 +0200) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Tue, 30 Sep 2008 19:59:18 +0000 (12:59 -0700) | ||
commit | 34785f8ccabb12f684352902b7f201135b9ccd51 | |
tree | 559a889bda62d96b9010c810d4da31f826b70d50 | tree | snapshot |
parent | 0aea2842d9d556afa4a3e8120e465479ad7368ca | commit | diff |
git-gui: Remove space from the end of aspell's reply before processing
When git gui processes a reply from aspell it explicitly ignores an empty
line. The Windows version of aspell, however, terminates lines with CRLF,
but TCL's 'gets' does not remove CR, hence, a "visibly" empty line was not
actually recognized as empty. With this change we explicitly trim off
whitespace before the line is further processed.
Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
When git gui processes a reply from aspell it explicitly ignores an empty
line. The Windows version of aspell, however, terminates lines with CRLF,
but TCL's 'gets' does not remove CR, hence, a "visibly" empty line was not
actually recognized as empty. With this change we explicitly trim off
whitespace before the line is further processed.
Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/spellcheck.tcl | diff | blob | history |