diff options
author | David Pursehouse <david.pursehouse@gmail.com> | 2016-07-14 23:14:54 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@gmail.com> | 2016-07-26 10:16:49 +0900 |
commit | 053684ac2403ca113531347bf10f412a72f79b38 (patch) | |
tree | 257bc272f23d08123044651bc30628b723bf9d18 | |
parent | 0be80218199afc42d9266ffb1a6ff4fe84bfb28a (diff) | |
download | jgit-053684ac2403ca113531347bf10f412a72f79b38.tar.gz jgit-053684ac2403ca113531347bf10f412a72f79b38.zip |
Update links to LFS API documentation
The location of the API v1 documentation has changed. Update the
links accordingly.
Change-Id: If0148a0b573c474bbe157fcb7e6674c0055fe8b4
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
3 files changed, 4 insertions, 4 deletions
diff --git a/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/LfsProtocolServlet.java b/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/LfsProtocolServlet.java index 394137cf68..7d2efd26cf 100644 --- a/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/LfsProtocolServlet.java +++ b/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/LfsProtocolServlet.java @@ -67,7 +67,7 @@ import com.google.gson.GsonBuilder; /** * LFS protocol handler implementing the LFS batch API [1] * - * [1] https://github.com/github/git-lfs/blob/master/docs/api/http-v1-batch.md + * [1] https://github.com/github/git-lfs/blob/master/docs/api/v1/http-v1-batch.md * * @since 4.3 */ diff --git a/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/fs/FileLfsServlet.java b/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/fs/FileLfsServlet.java index 8864af87ab..586941357a 100644 --- a/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/fs/FileLfsServlet.java +++ b/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/fs/FileLfsServlet.java @@ -161,7 +161,7 @@ public class FileLfsServlet extends HttpServlet { throws IOException { rsp.setStatus(status); // TODO return message in response body in json format as specified in - // https://github.com/github/git-lfs/blob/master/docs/api/http-v1-batch.md + // https://github.com/github/git-lfs/blob/master/docs/api/v1/http-v1-batch.md rsp.flushBuffer(); } } diff --git a/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/lib/Constants.java b/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/lib/Constants.java index 3cadbf73a1..d2464126cc 100644 --- a/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/lib/Constants.java +++ b/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/lib/Constants.java @@ -102,7 +102,7 @@ public final class Constants { /** * Content type used by LFS REST API as defined in - * {@link "https://github.com/github/git-lfs/blob/master/docs/api/http-v1-batch.md"} + * {@link "https://github.com/github/git-lfs/blob/master/docs/api/v1/http-v1-batch.md"} */ public static String CONTENT_TYPE_GIT_LFS_JSON = "application/vnd.git-lfs+json"; @@ -111,4 +111,4 @@ public final class Constants { * {@link "https://www.ietf.org/rfc/rfc2046.txt"} */ public static String HDR_APPLICATION_OCTET_STREAM = "application/octet-stream"; -}
\ No newline at end of file +} |