git merge and cherry-pick and duplicated commits?
- From
- skillzero@gmail.com <skillzero@gmail.com>
- Date
- Jan 14, 2009, 02:40 UTC
- Message-ID
- <2729632a0901131840v5c7ce0c7l3f87c03caabf68de@mail.gmail.com>
I created a branch from master, did a commit (8e9fdd), then did 2 more commits (11c59c and 7024d), then did another commit (2daf23). From master, I did a commit (47bd1b) then cherry-pick'd 2 commits from the branch (11c59c and 7024d). When merged the branch into master, I see the 2 cherry-picked commits twice in the log (once from the original cherry-pick's and again from the merge).
I thought git would realize that master already had those 2 commits and not add them again when merging?