diff options
author | Jonathan Nieder <jrn@google.com> | 2015-06-30 14:34:02 -0700 |
---|---|---|
committer | Jonathan Nieder <jrn@google.com> | 2015-07-06 12:34:31 -0700 |
commit | 0c7ad12c767d34ab90505c405ad6f0b70ee670ec (patch) | |
tree | 40e662fd48da54ea44f68e2ee8791912e2bbef97 /org.eclipse.jgit/resources/org | |
parent | 3c33d094a1be5e773c64fcdf5b47da54126fabf2 (diff) | |
download | jgit-0c7ad12c767d34ab90505c405ad6f0b70ee670ec.tar.gz jgit-0c7ad12c767d34ab90505c405ad6f0b70ee670ec.zip |
Avoid double-colon in InvalidObjectIdException description
The invalidId message in JGitText and the asAscii bad id both contain a
colon, so the resulting message would say
Invalid id: : a78987c98798ufa
Fix it by keeping the colon in the translated message and not adding
another colon programmatically.
Noticed by code inspection.
Change-Id: I13972eebde27a4128828e6c64517666f0ba6288b
Signed-off-by: Jonathan Nieder <jrn@google.com>
Diffstat (limited to 'org.eclipse.jgit/resources/org')
-rw-r--r-- | org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties b/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties index 509027dafc..1689e770eb 100644 --- a/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties +++ b/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties @@ -325,6 +325,7 @@ invalidEncryption=Invalid encryption invalidGitdirRef = Invalid .git reference in file ''{0}'' invalidGitType=invalid git type: {0} invalidId=Invalid id: {0} +invalidId0=Invalid id invalidIdLength=Invalid id length {0}; should be {1} invalidIgnoreParamSubmodule=Found invalid ignore param for submodule {0}. invalidIntegerValue=Invalid integer value: {0}.{1}={2} |