Remove commits tab, moved under branch. Commits are under branches now.

Fixes search ui along the way
This commit is contained in:
M M Arif
2020-03-28 17:44:45 +05:00
parent 21aae88e62
commit 6842ba1410
36 changed files with 273 additions and 158 deletions

View File

@@ -262,5 +262,5 @@ public interface ApiInterface {
Call<ResponseBody> mergePullRequest(@Header("Authorization") String token, @Path("owner") String ownerName, @Path("repo") String repoName, @Path("index") int index, @Body MergePullRequest jsonStr);
@GET("repos/{owner}/{repo}/commits") // get all commits
Call<List<Commits>> getRepositoryCommits(@Header("Authorization") String token, @Path("owner") String owner, @Path("repo") String repo, @Query("page") int page);
Call<List<Commits>> getRepositoryCommits(@Header("Authorization") String token, @Path("owner") String owner, @Path("repo") String repo, @Query("page") int page, @Query("sha") String branchName);
}