Update packages/mermaid/src/diagrams/git/gitGraphAst.ts

Co-authored-by: Sidharth Vinod <github@sidharth.dev>
This commit is contained in:
Austin-Fulbright 2024-07-27 04:03:25 -04:00 committed by GitHub
parent 871f0478c6
commit 6e5e5f9c61
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 = {