]> source.dussan.org Git - jgit.git/commit
Fix issues with LFS on GitHub (SSH) 55/124355/3
authorMarkus Duft <markus.duft@ssi-schaefer.com>
Mon, 11 Jun 2018 15:12:00 +0000 (17:12 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Tue, 12 Jun 2018 07:49:15 +0000 (09:49 +0200)
commit01c52a58f66e1582e5c0cea17801fb347f3163c9
treee5d3eba960d4507ae193b4d835c5bdbcdb02dc76
parent747ad8b166fedca0df217923fda184cfcd661757
Fix issues with LFS on GitHub (SSH)

 * URIish seems to have a tiny feature (bug?). The path of the URI
   starts with a '/' only if the URI has a port set (it seems).
 * GitHub does not return SSH authorization on a single line as Gerrit
   does - need to account for that.
 * Increase the SSH git-lfs-authenticate timeout, as GitHub sometimes
   responds slower than expected.
 * Guard against NPE in case the download action does not contain any
   additional headers.

Change-Id: Icd1ead3d015479fd4b8bbd42ed42129b0abfb95c
Signed-off-by: Markus Duft <markus.duft@ssi-schaefer.com>
org.eclipse.jgit.lfs/META-INF/MANIFEST.MF
org.eclipse.jgit.lfs/resources/org/eclipse/jgit/lfs/internal/LfsText.properties
org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/internal/LfsConnectionFactory.java
org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/internal/LfsText.java
org.eclipse.jgit/src/org/eclipse/jgit/util/SshSupport.java