Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How does stash generate diff for conflict resolution?

Dean Sas November 17, 2014

We're currently using crucible but are evaluating stash, when a merge results in conflicts we upload the conflict resolution as a pre-commit generated by git show -m --no-prefix -w -U20 {merge-commit} -- {list of conflicted files}. 

We use -m so that we can review whether or not the merger kept the correct conflicting version (by default git show / git diff excludes conflicts where one of the conflicting versions was kept without other alterations).

How does stash deal with or avoid this situation in a pull request?

1 answer

0 votes
Dean Sas January 29, 2015

I guess that this isn't so relevant as rather than reviewing the diff between the branch point and the branch head like in crucible, stash reviews the diff between the branch point head and the target branch head.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events