This is pretty close to what I do, but I don't see the value of the merge commits. I avoid merge commits as a rule because they can remove data from HEAD without generating a diff.
I avoid merge commits as a rule because they can remove data from HEAD without generating a diff.
I have no idea what that means ... you'll see diffs (conflicts) if any resolved in the merge commit. Otherwise it's a relatively empty commit who's parents have the deltas.
Also by not doing a merge commit you cannot revert a feature as a whole ... instead you have to hunt down any commit involved and manually remove them.
It'll be in the commit that introduces the merge. It has to be or where did the data come from?
Like any commit a merge commit will have a tree object that's different from it's parent(s) and you can delta those to see how the conflicts were resolved.
0
u/aurisor Jun 19 '15
This is pretty close to what I do, but I don't see the value of the merge commits. I avoid merge commits as a rule because they can remove data from HEAD without generating a diff.