git-gui: Narrow the no differences information message.

On Mac OS X the no differences informational message was linewrapped
at the wrong points due to the limited width of the system dialog,
yet the LFs embedded in the message (where I linewrapped it manually)
were also being honored.  This resulted in a very difficult to read
paragraph of text.

So this narrows the text down by another 10 columns or so, making it
more readable.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
This commit is contained in:
Shawn O. Pearce 2006-11-13 14:37:41 -05:00
Родитель 7d0d289e45
Коммит a37eee4406
1 изменённых файлов: 8 добавлений и 6 удалений

14
git-gui
Просмотреть файл

@ -475,13 +475,15 @@ proc handle_empty_diff {} {
[short_path $path] has no changes.
The modification date of this file was updated by another
application and you currently have the Trust File Modification
Timestamps option enabled, so Git did not automatically detect
that there are no content differences in this file.
The modification date of this file was updated
by another application and you currently have
the Trust File Modification Timestamps option
enabled, so Git did not automatically detect
that there are no content differences in this
file.
This file will now be removed from the modified files list, to
prevent possible confusion.
This file will now be removed from the modified
files list, to prevent possible confusion.
"
if {[catch {exec git update-index -- $path} err]} {
error_popup "Failed to refresh index:\n\n$err"