Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cli): fix the wrong graph in "gas log" when merging branches
When merging the left branch, the right branch also needs to move to the left The wrong sample: ``` * 4c564ea (b3) 15 * a3f25ce 13 * ebb775e 8 | * 2da7d6e (b1) 14 | * aeac003 6 | | * 8c9e82e (main) 12 | | | * 1c22915 (b5) 11 | | |/ | |/| | * | bec94e0 a | | | * ef0e4c2 (b2) 10 | | | * dee8986 7 | | |/ | |/| |/| | * | | d7677e0 4 * | | e1d77c4 3 |/| | | * f478341 (b4) 9 | |/ | * dc2a3cc 5 |/ * d0eeb20 2 * bce9056 1 ``` Fixed: ``` * 4c564ea (* ebb775e 8 | * 2da7d6e (b1) 14 | * aeac003 6 | | * 8c9e82e (main) 12 | | | * 1c22915 (b5) 11 | | |/ | |/| | * | bec94e0 a | | | * ef0e4c2 (b2) 10 | | | * dee8986 7 | | |/ | |/| |/| | * | | d7677e0 4 * | | e1d77c4 3 |/ / | | * f478341 (b4) 9 | |/ | * dc2a3cc 5 |/ * d0eeb20 2 * bce9056 1 ``` PR Closed: #1101
- Loading branch information