author | Shawn O. Pearce <spearce@spearce.org> | |
Thu, 24 Apr 2008 01:34:58 +0000 (21:34 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Thu, 24 Apr 2008 01:34:58 +0000 (21:34 -0400) | ||
commit | ddc360314544a21638fd0658218bbc37aafedd6f | |
tree | 45149f90183fe9048ea13b52820ccb516b7d7133 | tree | snapshot |
parent | 729ffa50f75a025935623bfc58d0932c65f7de2f | commit | diff |
git-gui: Don't use '$$cr master' with aspell earlier than 0.60
Apparently aspell 0.50 does not recognize "$$cr master" as a command,
but instead tries to offer suggestions for how to correctly spell
the word "cr". This is not quite what we are after when we want
the name of the current dictionary.
Instead of locking up git-gui waiting for a response that may never
come back from aspell we avoid sending this command if the binary
we have started claims to be before version 0.60.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Apparently aspell 0.50 does not recognize "$$cr master" as a command,
but instead tries to offer suggestions for how to correctly spell
the word "cr". This is not quite what we are after when we want
the name of the current dictionary.
Instead of locking up git-gui waiting for a response that may never
come back from aspell we avoid sending this command if the binary
we have started claims to be before version 0.60.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/spellcheck.tcl | diff | blob | history |