]> source.dussan.org Git - jgit.git/commit
Fix "remote: Counting objects: ..." formatting 03/63403/2
authorShawn Pearce <sop@google.com>
Fri, 1 Jan 2016 00:12:51 +0000 (16:12 -0800)
committerShawn Pearce <sop@google.com>
Fri, 1 Jan 2016 01:37:16 +0000 (17:37 -0800)
commit09500165a8592386c92c1f10a36bfd4fc4666a11
treea60ff2ccff19949e2218ccd4d0bcfaa54d5c154c
parentc426a964ed41001731288d4fb8c26bdda2cfe169
Fix "remote: Counting objects: ..." formatting

Trailing whitespace is usually removed in properties files so
JGitText did not supply a space between : and the remote message.
Ensure the space exists at runtime by reading the localized string
and appending a space if it is missing.

Messages should be dynamically fetched and not held in a static
class variable, as they can be changed using thread locals.

Change-Id: If6a3707d64094253b1a5304fbfafcf195db7497a
org.eclipse.jgit/src/org/eclipse/jgit/transport/SideBandInputStream.java