diff options
author | Shawn Pearce <spearce@spearce.org> | 2016-11-14 11:00:34 -0800 |
---|---|---|
committer | Shawn Pearce <spearce@spearce.org> | 2016-11-14 11:14:35 -0800 |
commit | 1c70dd6d219d2336b0d505739fe4c17677d5cc8c (patch) | |
tree | b5688febf4dfe44228a16a0bb09df6133227b6d6 /org.eclipse.jgit/resources | |
parent | eeb0705ef3f05057c4fdf2031ac3cbe345a5a209 (diff) | |
download | jgit-1c70dd6d219d2336b0d505739fe4c17677d5cc8c.tar.gz jgit-1c70dd6d219d2336b0d505739fe4c17677d5cc8c.zip |
Add {get,set}GitwebDescription to Repository
This method pair allows the caller to read and modify the description
file that is traditionally used by gitweb and cgit when rendering a
repository on the web.
Gerrit Code Review has offered this feature for years as part of
its GitRepositoryManager interface, but its fundamentally a feature
of JGit and its Repository abstraction.
git-core typically initializes a repository with a default value
inside the description file. During getDescription() this string
is converted to null as it is never a useful description.
Change-Id: I0a457026c74e9c73ea27e6f070d5fbaca3439be5
Diffstat (limited to 'org.eclipse.jgit/resources')
-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 0f2c8b3d1d..8a16a3b199 100644 --- a/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties +++ b/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties @@ -675,6 +675,7 @@ unsupportedMark=Mark not supported unsupportedOperationNotAddAtEnd=Not add-at-end: {0} unsupportedPackIndexVersion=Unsupported pack index version {0} unsupportedPackVersion=Unsupported pack version {0}. +unsupportedRepositoryDescription=Repository description not supported updatingHeadFailed=Updating HEAD failed updatingReferences=Updating references updatingRefFailed=Updating the ref {0} to {1} failed. ReturnCode from RefUpdate.update() was {2} |