]> source.dussan.org Git - jgit.git/commitdiff
Update links to LFS API documentation 06/77306/6
authorDavid Pursehouse <david.pursehouse@gmail.com>
Thu, 14 Jul 2016 14:14:54 +0000 (23:14 +0900)
committerDavid Pursehouse <david.pursehouse@gmail.com>
Tue, 26 Jul 2016 01:16:49 +0000 (10:16 +0900)
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>
org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/LfsProtocolServlet.java
org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/fs/FileLfsServlet.java
org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/lib/Constants.java

index 394137cf689521e06285ce3c48624056e272d9c7..7d2efd26cfbf248391659a2fb7850c1989248aad 100644 (file)
@@ -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
  */
index 8864af87abe81e5e6bd5afce3e23fae0621368f5..586941357a672c237b34276801099f1e88502ac2 100644 (file)
@@ -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();
        }
 }
index 3cadbf73a17e3e810d9d97563c1cb18ebe83878d..d2464126cc4a7d25f661ab6f9f2c16b22904c9be 100644 (file)
@@ -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
+}