Upgrade JGit to 4.9.5.201809180939-r

This release contains the following fixes since 4.9.4.201809090327-r:

- Fix ObjectUploadListener#close
- Fix error handling in FileLfsServlet
- ObjectDownloadListener#onWritePossible: Make code spec compatible
- ObjectDownloadListener: Return from onWritePossible when data is written
- Fix IOException when LockToken#close fails
- Fix NoSuchFileException during directory cleanup in RefDirectory
- Externalize warning message in RefDirectory.delete()
- Suppress warning for trying to delete non-empty directory

Bug: Issue 9667
Change-Id: I2c2dfe9b1997e52c295f8fbf8726dae539212cdb
diff --git a/lib/jgit/jgit.bzl b/lib/jgit/jgit.bzl
index cb169cb..eeb87fd 100644
--- a/lib/jgit/jgit.bzl
+++ b/lib/jgit/jgit.bzl
@@ -1,6 +1,6 @@
 load("//tools/bzl:maven_jar.bzl", "GERRIT", "MAVEN_CENTRAL", "MAVEN_LOCAL", "maven_jar")
 
-_JGIT_VERS = "4.9.4.201809090327-r"
+_JGIT_VERS = "4.9.5.201809180939-r"
 
 _DOC_VERS = _JGIT_VERS  # Set to _JGIT_VERS unless using a snapshot
 
@@ -35,28 +35,28 @@
         name = "jgit-lib",
         artifact = "org.eclipse.jgit:org.eclipse.jgit:" + _JGIT_VERS,
         repository = _JGIT_REPO,
-        sha1 = "a04cb44514344619bb9cef3db9323298cfda78fd",
-        src_sha1 = "e8cf23009f5ef776fcbb6d18cddf455cf0e956f6",
+        sha1 = "e49fcc98e3c78fea8aeea075e061b6df1b0a9acb",
+        src_sha1 = "36cd2ad673e051fa1549bbe3228fc92fb6d29c1f",
         unsign = True,
     )
     maven_jar(
         name = "jgit-servlet",
         artifact = "org.eclipse.jgit:org.eclipse.jgit.http.server:" + _JGIT_VERS,
         repository = _JGIT_REPO,
-        sha1 = "a7e14f47af07b74d72841498e4d24dbafc2c0026",
+        sha1 = "f69b3ccd0e9c84bbadf4a1a7f3eee3f62f81b725",
         unsign = True,
     )
     maven_jar(
         name = "jgit-archive",
         artifact = "org.eclipse.jgit:org.eclipse.jgit.archive:" + _JGIT_VERS,
         repository = _JGIT_REPO,
-        sha1 = "006dbb35cc0be258929f5a72814e4d47ba61e084",
+        sha1 = "96090439253b1e39037f0476734613e57eb513cf",
     )
     maven_jar(
         name = "jgit-junit",
         artifact = "org.eclipse.jgit:org.eclipse.jgit.junit:" + _JGIT_VERS,
         repository = _JGIT_REPO,
-        sha1 = "855cc13b23772151894966d88b1def7544955b0a",
+        sha1 = "384987918ef03fd1462e22c65a1a27c4ecc2350a",
         unsign = True,
     )