i try to use diff to check source_branch and target_branch last commit, at first, it seemed like everything was normal
but when i try to use revert, diff will keep the revert changes in
my steps:
create aaa in master
create branch dev
create bbb in dev
create merge dev -> master
merged it and revert it
create ccc in dev
create merge dev -> master again
follow this steps, i can't use diff in here, i check diff in this source and target branch last commit, it have 'bbb' and 'ccc' in the same time, but if i try it in git bash, it only have 'ccc'
i was use repo.diff_tree_to_tree and diff.deltas().enumerate()
i don't know is it something wrong with my code, or it really can't use diff in here, please get some suggestions, thank you.
i try to use diff to check source_branch and target_branch last commit, at first, it seemed like everything was normal
but when i try to use revert, diff will keep the revert changes in
my steps:
aaa
in masterdev
bbb
in devdev -> master
ccc
in devdev -> master
againfollow this steps, i can't use diff in here, i check diff in this source and target branch last commit, it have 'bbb' and 'ccc' in the same time, but if i try it in git bash, it only have 'ccc'
i was use
repo.diff_tree_to_tree
anddiff.deltas().enumerate()
i don't know is it something wrong with my code, or it really can't use diff in here, please get some suggestions, thank you.