git2-rs
git2-rs copied to clipboard
how can i see changes in merge request?
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
aaain master - create branch
dev - create
bbbin dev - create merge
dev -> master - merged it and revert it
- create
cccin dev - create merge
dev -> masteragain
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.