mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-29 21:26:51 +02:00
Update packages/mermaid/src/diagrams/git/gitGraphAst.ts
Co-authored-by: Sidharth Vinod <github@sidharth.dev>
This commit is contained in:
@@ -215,16 +215,6 @@ export const merge = (
|
|||||||
throw error;
|
throw error;
|
||||||
}
|
}
|
||||||
|
|
||||||
// if (isReachableFrom(currentCommit, otherCommit)) {
|
|
||||||
// log.debug('Already merged');
|
|
||||||
// return;
|
|
||||||
// }
|
|
||||||
// if (isFastForwardable(currentCommit, otherCommit)) {
|
|
||||||
// branches.set(curBranch, branches.get(otherBranch));
|
|
||||||
// head = commits.get(branches.get(curBranch));
|
|
||||||
// } else {
|
|
||||||
// create merge commit
|
|
||||||
|
|
||||||
const verifiedBranch: string = otherBranchCheck ? otherBranchCheck : ''; //figure out a cleaner way to do this
|
const verifiedBranch: string = otherBranchCheck ? otherBranchCheck : ''; //figure out a cleaner way to do this
|
||||||
|
|
||||||
const commit: Commit = {
|
const commit: Commit = {
|
||||||
|
Reference in New Issue
Block a user