Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-04-25 02:48:22 +0400
committerCiro Santilli <ciro.santilli@gmail.com>2014-06-04 01:16:31 +0400
commitfd348de76d651d49acc8eb742cc647dc777ef5fc (patch)
tree26f42bef57c9a636eff0a548a29cb1e2e6d12c8c /doc/api/commits.md
parentde1a7aa7eb523cf2fdad12f8eeda2ba4c5b51820 (diff)
Update docs to markdown style guide.
Diffstat (limited to 'doc/api/commits.md')
-rw-r--r--doc/api/commits.md15
1 files changed, 6 insertions, 9 deletions
diff --git a/doc/api/commits.md b/doc/api/commits.md
index 241fe0e585a..d55b34c0c1f 100644
--- a/doc/api/commits.md
+++ b/doc/api/commits.md
@@ -10,8 +10,8 @@ GET /projects/:id/repository/commits
Parameters:
-+ `id` (required) - The ID of a project
-+ `ref_name` (optional) - The name of a repository branch or tag or if not given the default branch
+- `id` (required) - The ID of a project
+- `ref_name` (optional) - The name of a repository branch or tag or if not given the default branch
```json
[
@@ -44,8 +44,8 @@ GET /projects/:id/repository/commits/:sha
Parameters:
-+ `id` (required) - The ID of a project
-+ `sha` (required) - The commit hash or name of a repository branch or tag
+- `id` (required) - The ID of a project
+- `sha` (required) - The commit hash or name of a repository branch or tag
```json
{
@@ -63,7 +63,6 @@ Parameters:
}
```
-
## Get the diff of a commit
Get the diff of a commit in a project.
@@ -74,8 +73,8 @@ GET /projects/:id/repository/commits/:sha/diff
Parameters:
-+ `id` (required) - The ID of a project
-+ `sha` (required) - The name of a repository branch or tag or if not given the default branch
+- `id` (required) - The ID of a project
+- `sha` (required) - The name of a repository branch or tag or if not given the default branch
```json
[
@@ -91,5 +90,3 @@ Parameters:
}
]
```
-
-