]> asedeno.scripts.mit.edu Git - git.git/commitdiff
git-gui: Narrow the no differences information message.
authorShawn O. Pearce <spearce@spearce.org>
Mon, 13 Nov 2006 19:37:41 +0000 (14:37 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 13 Nov 2006 19:37:41 +0000 (14:37 -0500)
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>
git-gui

diff --git a/git-gui b/git-gui
index b8ebe31777ddfd2eff64c2fb5e44050321fc8a86..6b8d25e9aabccb4430857ac3eb446fc8363ba30f 100755 (executable)
--- a/git-gui
+++ b/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.
-
-This file will now be removed from the modified files list, to
-prevent possible confusion.
+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.
 "
        if {[catch {exec git update-index -- $path} err]} {
                error_popup "Failed to refresh index:\n\n$err"