[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] Re: Cleaning mob [Was Several patchs from Debian packagin
From: |
grischka |
Subject: |
[Tinycc-devel] Re: Cleaning mob [Was Several patchs from Debian packaging] |
Date: |
Wed, 21 Apr 2010 09:42:14 +0200 |
User-agent: |
Thunderbird 2.0.0.23 (Windows/20090812) |
RoboTux wrote:
Oh, I think for my patches it's not worthwhile since at least they compile and
don't introduce regressions.
It's okay. True history is a value too. (Then again history is not
about truth really.)
I can see several risks and one limitation to this clean up:
- [risk] A push occurs between the check and the push -f
Yes, but I think it did happen only once in the past. And then the other
person was smart enough to re-push the patch later.
- [risk] Someone based his branch upon latest mob, and have to rebase his work
on the new clean commit (with something like git rebase --onto origin/mob
fork_commit hismob where fork_commit is the commit upon which he based his
branch hismob)
The same happens if someone else pushes while you are working on a patch.
Then before you push, you need to merge the other changes or rebase your
changes. People seem to prefer rebase (which is fine actually).
- [limitation] Can't do anything if a new commit was pushed on top on the not
clean one in between.
That is not true. You would simple cherry-pick (or rebase) these new patches
onto the cleaned mob before you push (-f) it.
BUT, you need to be careful not to mess up other peoples' work.
Don't worry, I know all the consequences it could produce.
Great ;)
--- grischka
Thomas Preud'homme
- [Tinycc-devel] Several patchs from Debian packaging, RoboTux, 2010/04/17
- Re: [Tinycc-devel] Several patchs from Debian packaging, grischka, 2010/04/17
- Re: [Tinycc-devel] Several patchs from Debian packaging, Thomas Preud'homme, 2010/04/18
- Re: [Tinycc-devel] Several patchs from Debian packaging, Thomas Preud'homme, 2010/04/18
- Re: [Tinycc-devel] Several patchs from Debian packaging, grischka, 2010/04/18
- Re: [Tinycc-devel] Several patchs from Debian packaging, RoboTux, 2010/04/20
- Re: [Tinycc-devel] Several patchs from Debian packaging, grischka, 2010/04/20
- Re: [Tinycc-devel] Several patchs from Debian packaging, RoboTux, 2010/04/20
- Re: [Tinycc-devel] Several patchs from Debian packaging, grischka, 2010/04/20
- [Tinycc-devel] Cleaning mob [Was Several patchs from Debian packaging], RoboTux, 2010/04/20
- [Tinycc-devel] Re: Cleaning mob [Was Several patchs from Debian packaging],
grischka <=
- Re: [Tinycc-devel] Re: Cleaning mob [Was Several patchs from Debianpackaging], Timo VJ Lähde, 2010/04/21
- Re: [Tinycc-devel] Re: Cleaning mob [Was Several patchs from Debianpackaging], RoboTux, 2010/04/21
- Re: [Tinycc-devel] Re: Cleaning mob [Was Several patchs from Debianpackaging], grischka, 2010/04/21
- Re: [Tinycc-devel] Several patchs from Debian packaging, Rob, 2010/04/18
- Re: [Tinycc-devel] Several patchs from Debian packaging, Thomas Preud'homme, 2010/04/18