Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
2011q4
-
None
Description
- Select a patch from Gerrit.
Let's call this patch A. - Reset your local branch to A's parent, listed on it's Gerrit page.
- Cherry-pick patch A to your local branch.
- Create a new commit on top of patch A.
Let's call this patch B. - Push your local branch to Gerrit, using the same branch like patch A.
Patch B will appear in Gerrit but it will not show the depedency to A.
This is the output of git:C:\Users\rob\Git\creator>git push origin master:refs/for/master Counting objects: 25, done. Delta compression using up to 4 threads. Compressing objects: 100% (14/14), done. Writing objects: 100% (14/14), 1.37 KiB, done. Total 14 (delta 11), reused 0 (delta 0) remote: Resolving deltas: 0% (0/11) remote: remote: New Changes: remote: http://codereview.qt-project.org/17476 remote: To ssh://codereview.qt-project.org/qt-creator/qt-creator ! [remote rejected] master -> refs/for/master (no changes made) error: failed to push some refs to 'ssh://codereview.qt-project.org/qt-creator/qt-creator'
Instead, the dependency to A should be shown even if no changes were made to A.
Attachments
Issue Links
- is replaced by
-
QTQAINFRA-871 Patch chains don't show previous and next patch links anymore
- Closed
- relates to
-
QTQAINFRA-867 Gerrit reports "no new changes" when changes have been made
- Closed