Browse Source

UploadPack.FirstLine: Revert renaming of getOptions into getCapabilities

This is public facing, stable API.

Fortunately, this class is deprecated and will be removed in the next
major version bump.

Change-Id: I91193964732e9d1943e9dc613256196e9c9d1274
Signed-off-by: Ivan Frade <ifrade@google.com>
Signed-off-by: Jonathan Nieder <jrn@google.com>
stable-5.2
Ivan Frade 6 years ago committed by Jonathan Nieder
parent
commit
7fde9ab8d2
  1. 2
      org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java

2
org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java

@ -207,7 +207,7 @@ public class UploadPack {
}
/** @return capabilities parsed from the line. */
public Set<String> getCapabilities() {
public Set<String> getOptions() {
return firstWant.getCapabilities();
}
}

Loading…
Cancel
Save