Hi all,
My committers keep forgetting to do a "git commit --amend" and therefore a new changeset is created with dependency to the previous changeset. Is it possible to merge two changesets?
Hi all,
My committers keep forgetting to do a "git commit --amend" and therefore a new changeset is created with dependency to the previous changeset. Is it possible to merge two changesets?
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
Hi all,
My committers keep forgetting to do a "git commit --amend" and therefore a new changeset is created with dependency to the previous changeset. Is it possible to merge two changesets?
> It would be quite neat to allow gerrit to merge two changesets that depend on eachother from the UI. Anyone looked into the possibility of doing that?
The problem is that the newly merged change would have a new commit id, and the person who pushed the changes would then have to rebase to do any further work. In essence, you're making it more difficult for them.
It's better (and easier) to prohibit pushes without a change id since it's a one time fix that solves the problem for ever instead of requiring manual intervention each time.
Alex
Sent from my iPod
Just to clarify, the commit-msg hook doesn't hit Gerrit at all. IIRC it
prepends the SHA-1 with an "I" and that's it :)
- R. Tyler Croy
--------------------------------------
Code: http://github.com/rtyler
Chatter: http://identi.ca/agentdero
http://twitter.com/agentdero