Skip to content

Commit

Permalink
assetmanager: local bare revision to commit using .resolve() method
Browse files Browse the repository at this point in the history
Signed-off-by: Dr Marco Claudio De La Pierre <marco.delapierre@gmail.com>
  • Loading branch information
marcodelapierre committed May 24, 2024
1 parent b969d42 commit 0b0b510
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions modules/nextflow/src/main/groovy/nextflow/scm/AssetManager.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,26 @@ class AssetManager {
.resolve("refs/heads/" + revtest )
.getName()

def t1 = gitTest.getRepository()
.resolve("toy" )
.getName()
def t2 = gitTest.getRepository()
.resolve("v1.1" )
.getName()
def t3 = gitTest.getRepository()
.resolve("1d71f857bb64af58716575d770ef74baf21313d1" )
.getName()

gitTest.close()
println('PIPPO1 ' + localBarePath)
println('PIPPO2 ' + obj)
println('PIPPO3 ' + obj2)

println('ZIO1 ' + t1)
println('ZIO2 ' + t2)
println('ZIO3 ' + t3)


this.localPath = checkProjectDir(project, this.revision)

return this
Expand Down

0 comments on commit 0b0b510

Please sign in to comment.