Skip to content

Commit

Permalink
Update jgit to 7.1.0
Browse files Browse the repository at this point in the history
(otherwise the tests fail if you have git config setting `gpg.format=ssh`)

Signed-off-by: Tom Sellman <[email protected]>
  • Loading branch information
tom-seqera committed Dec 9, 2024
1 parent 40670f7 commit a894abb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/nextflow/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ dependencies {
api "com.beust:jcommander:1.35"
api("com.esotericsoftware.kryo:kryo:2.24.0") { exclude group: 'com.esotericsoftware.minlog', module: 'minlog' }
api('org.iq80.leveldb:leveldb:0.12')
api('org.eclipse.jgit:org.eclipse.jgit:6.10.0.202406032230-r')
api('org.eclipse.jgit:org.eclipse.jgit:7.1.0.202411261347-r')
api ('javax.activation:activation:1.1.1')
api ('javax.mail:mail:1.4.7')
api ('org.yaml:snakeyaml:2.2')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,7 @@ class AssetManager {

protected Map refToMap(Ref ref, Map<String,Ref> remote) {
final entry = new HashMap(2)
final peel = git.getRepository().peel(ref)
final peel = git.getRepository().getRefDatabase().peel(ref)
final objId = peel.getPeeledObjectId() ?: peel.getObjectId()
// the branch or tag name
entry.name = shortenRefName(ref.name)
Expand Down Expand Up @@ -867,7 +867,7 @@ class AssetManager {
result << (name == current ? '*' : ' ')

if( level ) {
def peel = git.getRepository().peel(ref)
def peel = git.getRepository().getRefDatabase().peel(ref)
def obj = peel.getPeeledObjectId() ?: peel.getObjectId()
result << ' '
result << formatObjectId(obj, level == 1)
Expand Down

0 comments on commit a894abb

Please sign in to comment.