Code

git-gui: Correct line wrapping for too many branch message
authorShawn O. Pearce <spearce@spearce.org>
Sun, 29 Apr 2007 01:32:27 +0000 (21:32 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 2 May 2007 17:06:10 +0000 (13:06 -0400)
Since Tk automatically wraps lines for us in tk_messageBox
widgets we don't need to try to wrap them ourselves.  Its
actually worse that we linewrapped this here in the script,
as not all fonts will render this dialog nicely.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh

index dd8a408c644ad190cf69aa60f8d62a6a2ed625be..ba2ee985f759ea0cfad619d9c2cc90ae69f13056 100755 (executable)
@@ -2907,12 +2907,9 @@ You are merging $revcnt branches at once.  This requires using the octopus merge
                        -parent $w \
                        -message "Too many branches selected.
 
-You have requested to merge $revcnt branches
-in an octopus merge.  This exceeds Git's
-internal limit of 15 branches per merge.
+You have requested to merge $revcnt branches in an octopus merge.  This exceeds Git's internal limit of 15 branches per merge.
 
-Please select fewer branches.  To merge more
-than 15 branches, merge the branches in batches.
+Please select fewer branches.  To merge more than 15 branches, merge the branches in batches.
 "
                return
        }