-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR for v1.1.6 release # Features - Compare feature to compare the changes between branches and difference commits # Improvements and Bug Fixes - Final package size has been reduced by removing unwanted CSS selectors - UI layout change to make the platform more tablet and small desktop friendly - Removed critical initial startup bug which crashes the application during the first start
- Loading branch information
Showing
1,856 changed files
with
4,492 additions
and
4,174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
const { gitBranchCompare } = require("../git/gitBranchCompare"); | ||
const { getRepoPath } = require("../global/fetchGitRepoPath"); | ||
|
||
async function branchCompareApi(repoId, baseBranch, compareBranch) { | ||
const repoPath = getRepoPath(repoId); | ||
|
||
if (baseBranch !== compareBranch) { | ||
return await gitBranchCompare(repoPath, baseBranch, compareBranch); | ||
} else { | ||
return { | ||
message: "Nothing to compare as the branches are the same", | ||
}; | ||
} | ||
} | ||
|
||
module.exports.branchCompareApi = branchCompareApi; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
const { gitCommitCompare } = require("../git/gitCommitCompareApi"); | ||
const { getRepoPath } = require("../global/fetchGitRepoPath"); | ||
|
||
async function commitCompareApi(repoId, baseCommit, compareCommit) { | ||
const repoPath = getRepoPath(repoId); | ||
|
||
if (baseCommit !== compareCommit) { | ||
return await gitCommitCompare(repoPath, baseCommit, compareCommit); | ||
} else { | ||
return { | ||
message: "Nothing to compare as the commits are the same", | ||
}; | ||
} | ||
} | ||
|
||
module.exports.commitCompareApi = commitCompareApi; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.