lightbend-labs / jardiff

A tool for comparing JAR files, including method bodies and Scala 2 pickled signatures
Apache License 2.0
172 stars 24 forks source link

Invalid value: gpg.format=ssh #201

Open eskatos opened 1 month ago

eskatos commented 1 month ago

In my ~/.gitonfig I have

[gpg]
        format = ssh

When running jardiff I get

java.lang.IllegalArgumentException: Invalid value: gpg.format=ssh
        at org.eclipse.jgit.lib.DefaultTypedConfigGetter.getEnum(DefaultTypedConfigGetter.java:105)
        at org.eclipse.jgit.lib.Config.getEnum(Config.java:403)
        at org.eclipse.jgit.lib.GpgConfig.<init>(GpgConfig.java:86)
        at org.eclipse.jgit.api.CommitCommand.processOptions(CommitCommand.java:620)
        at org.eclipse.jgit.api.CommitCommand.call(CommitCommand.java:180)
        at scala.tools.jardiff.JarDiff.renderAndCommit$1(JarDiff.scala:47)
        at scala.tools.jardiff.JarDiff.$anonfun$diff$3(JarDiff.scala:55)
        at scala.collection.Iterator$$anon$10.next(Iterator.scala:461)
        at scala.collection.Iterator$GroupedIterator.takeDestructively(Iterator.scala:1161)
        at scala.collection.Iterator$GroupedIterator.go(Iterator.scala:1176)
        at scala.collection.Iterator$GroupedIterator.fill(Iterator.scala:1213)
        at scala.collection.Iterator$GroupedIterator.hasNext(Iterator.scala:1217)
        at scala.collection.Iterator.foreach(Iterator.scala:943)
        at scala.collection.Iterator.foreach$(Iterator.scala:943)
        at scala.collection.AbstractIterator.foreach(Iterator.scala:1431)
        at scala.tools.jardiff.JarDiff.diff(JarDiff.scala:56)
        at scala.tools.jardiff.Main$.run(Main.scala:85)
        at scala.tools.jardiff.Main$.main(Main.scala:21)
        at scala.tools.jardiff.Main.main(Main.scala)