Merge branch 'stable-2.8' into master

* stable-2.8:
  Fix: Performance issue when traversing large Git repositories
  Add release notes for recently made changes
  Linkify starred change state documentation
  Update release notes with recently made changes

Change-Id: I21cc559018eff24353ba2a1698036858791fa517
This commit is contained in:
Sasa Zivkov
2013-11-14 15:03:40 +01:00
3 changed files with 18 additions and 0 deletions

View File

@@ -924,6 +924,7 @@ link:#diff-preferences-info[DiffPreferencesInfo] entity.
}
----
[[get-starred-changes]]
Get Starred Changes
~~~~~~~~~~~~~~~~~~~
[verse]
@@ -967,6 +968,7 @@ link:rest-api-changes.html#change-info[ChangeInfo] entities.
]
----
[[star-change]]
Star Change
~~~~~~~~~~~
[verse]
@@ -986,6 +988,7 @@ whenever updates are made to the change.
HTTP/1.1 204 No Content
----
[[unstar-change]]
Unstar Change
~~~~~~~~~~~~~
[verse]

View File

@@ -278,6 +278,15 @@ Delete account SSH key]
* link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.8/rest-api-accounts.html#get-username[
Get account username]
* link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.8/rest-api-accounts.html#get-starred-changes[
Get starred changes]
* link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.8/rest-api-accounts.html#star-change[
Star change]
* link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.8/rest-api-accounts.html#unstar-change[
Unstar change]
Changes
^^^^^^^
@@ -741,5 +750,7 @@ Upgrades
* Update guava to 15.0
* Update H2 to 1.3.173
* Update bouncycastle to 1.44
* Update Apache Mina to 2.0.7
* Update Apache SSHD to 0.9.0.201311081
* asciidoctor 0.1.4 is now required to build the documentation
* jsr305 library was removed

View File

@@ -496,6 +496,10 @@ public class ProjectControl {
try {
Map<String, Ref> allRefs = repo.getRefDatabase().getRefs(ALL);
for (Entry<String, Ref> entry : allRefs.entrySet()) {
String refName = entry.getKey();
if (!refName.startsWith("refs/heads") && !refName.startsWith("refs/tags")) {
continue;
}
RevCommit tip;
try {
tip = rw.parseCommit(entry.getValue().getObjectId());