]> source.dussan.org Git - jgit.git/commit
Remove use of deprecated getAllRefs() in ReceivePack 00/182200/5
authorLuca Milanesio <luca.milanesio@gmail.com>
Sat, 19 Jun 2021 00:50:35 +0000 (01:50 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Sat, 26 Jun 2021 14:41:01 +0000 (16:41 +0200)
commited5be35e2ef69b23260d4ec1ce3cabfc4aee0c95
tree75d769dde98b716d5c072d44ceb2e481cfdbc98f
parentd46af8c69d598b63301900758e49b6b260168c16
Remove use of deprecated getAllRefs() in ReceivePack

Repository.getAllRefs() is deprecated and should not
be used anymore. Leverage the ref-db and the retrieval
of refs by prefix and adapt the result to the expected
refname/ref map.

Bug: 534731
Change-Id: I37a9092859f220ddc4e5063d01544f3e82208be8
Signed-off-by: Luca Milanesio <luca.milanesio@gmail.com>
org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java