|
|
@ -109,7 +109,7 @@ func GetSingleCommit(ctx *context.APIContext) {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Date: commit.Committer.When.Format(time.RFC3339),
|
|
|
|
Date: commit.Committer.When.Format(time.RFC3339),
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Message: commit.Summary(),
|
|
|
|
Message: commit.Message(),
|
|
|
|
Tree: &api.CommitMeta{
|
|
|
|
Tree: &api.CommitMeta{
|
|
|
|
URL: ctx.Repo.Repository.APIURL() + "/trees/" + commit.ID.String(),
|
|
|
|
URL: ctx.Repo.Repository.APIURL() + "/trees/" + commit.ID.String(),
|
|
|
|
SHA: commit.ID.String(),
|
|
|
|
SHA: commit.ID.String(),
|
|
|
|