github ajoberstar/grgit 2.2.0-beta.1

latest releases: 5.3.0, 5.2.2, 5.2.2-rc.2...
pre-release6 years ago

Feature release adding opt-in support of SSH via external ssh or plink commands as an alternative to JSch (which has been pretty problematic for people). The grgit-authentication documentation has been updated to show how to use this. However, note that if your remote is on Git 2.14+ you'll likely encounter JGit#470555 causing your program to hang. Hope is that this will be fixed in JGit's next release.

Additionally, a Consumer variant was added to all operations to make Java usage of Grgit easier.

grgit.add({ op ->
  op.setPatterns(Arrays.asList("."));
});

Breaking Changes

None

Enhancements

  • #206 Support external SSH commands as an alternative to JSch
  • Support Consumer as an alternative to Closure or Map syntax on all operations

Fixes

None

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 3.0 through 4.7-rc-2
9 4.2.1. through 4.7-rc-2
10 4.2.1 through 4.7-rc-2

Don't miss a new grgit release

NewReleases is sending notifications on new releases.