Skip to content

Commit

Permalink
Update packages/mermaid/src/diagrams/git/gitGraphAst.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Sidharth Vinod <github@sidharth.dev>
  • Loading branch information
Austin-Fulbright and sidharthv96 authored Jul 27, 2024
1 parent 871f047 commit 6e5e5f9
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions packages/mermaid/src/diagrams/git/gitGraphAst.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,16 +215,6 @@ export const merge = (
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 commit: Commit = {
Expand Down

0 comments on commit 6e5e5f9

Please sign in to comment.