@matheusbsbs / matheus-bagliano / commits / a37eee4406
Fork 0

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>

Shawn O. Pearce committed Nov 13, 2006 at 14:37 UTC a37eee4406ff965fda4d234759aa58526657cbe3
1 file changed +9 -7
git-gui
+9 -7
@@ -475,13 +475,15 @@ proc handle_empty_diff {} {
475
476 [short_path $path] has no changes.
477
478 -The modification date of this file was updated by another
479 -application and you currently have the Trust File Modification
480 -Timestamps option enabled, so Git did not automatically detect
481 -that there are no content differences in this file.
482 -
483 -This file will now be removed from the modified files list, to
484 -prevent possible confusion.
478 +The modification date of this file was updated
479 +by another application and you currently have
480 +the Trust File Modification Timestamps option
481 +enabled, so Git did not automatically detect
482 +that there are no content differences in this
483 +file.
484 +
485 +This file will now be removed from the modified
486 +files list, to prevent possible confusion.
487 "
488 if {[catch {exec git update-index -- $path} err]} {
489 error_popup "Failed to refresh index:\n\n$err"