My Gerrit version is Gerrit 3.10.8, and I’m encountering the following issue:
Background:
Scenario:
Observation:
Questions:
My Gerrit version is Gerrit 3.10.8, and I’m encountering the following issue:
Background:
- There is a main branch with commit history: commitid1, commitid2, commitid3, commitid4, commitid5.
- I created a new branch dev based on an older commit commitid2.
Scenario:
- I downloaded the main branch code from Gerrit and made modifications on the latest commit commitid5, resulting in a new commit commitid6.
- I submitted this change (commitid6) to the dev branch for code review.
- After successful review, I clicked "Submit" to merge it into dev.
Observation:
- The dev branch now contains all commits: commitid1, commitid2, commitid3, commitid4, commitid5, commitid6.
- However, when pushing to Gerrit for review, only one Gerrit change (for commitid6) was generated. There were no prompts or Gerrit entries for commitid3, commitid4, or commitid5.
- Using git reflog -b dev in the Gerrit repository shows only two entries:
- Branch creation (from commitid2).
- Merge of commitid6.
- Meanwhile, git log -b dev displays all six commits.
- Cloning the dev branch locally also shows all six commits.
Questions:
- Why does Gerrit not generate prompts or corresponding Gerrit Change-IDs for the included commits (commitid3, commitid4, commitid5)?
- Does Gerrit intentionally allow such operations without validation, and are there plans to optimize this behavior in future updates?
Thank you for your time and guidance. Looking forward to your insights on this behavior.
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/18c9d966-a855-460d-a617-6c306a681ba6n%40googlegroups.com.