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/src/org/eclipse/jgit/internal/JGitText.java | |
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/src/org/eclipse/jgit/internal/JGitText.java')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/internal/JGitText.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/JGitText.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/JGitText.java index 212cb7fdef..3577c4b286 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/JGitText.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/JGitText.java @@ -734,6 +734,7 @@ public class JGitText extends TranslationBundle { /***/ public String unsupportedOperationNotAddAtEnd; /***/ public String unsupportedPackIndexVersion; /***/ public String unsupportedPackVersion; + /***/ public String unsupportedRepositoryDescription; /***/ public String updatingHeadFailed; /***/ public String updatingReferences; /***/ public String updatingRefFailed; |