[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Rietveld workflow problems
From: |
Janek Warchoł |
Subject: |
Re: Rietveld workflow problems |
Date: |
Wed, 21 Sep 2011 16:17:58 +0200 |
2011/9/21 David Kastrup <address@hidden>:
> Reinhold Kainhofer <address@hidden> writes:
>> In gerrit you really need to clean up your patches before you
>> submit them for review. I typically have lots of small commits in a
>> branch when I upload a patch to rietveld. git-cl will simply take the
>> diff to origin/master (i.e. all patches in the branch combined into
>> one large patch) and show the combined diff. gerrit, on the other
>> hand, will show each small patch as one review.
>
> So what?
>
> Assume you have committed everything on branch untidy. Then you do
>
> git rebase origin
> git checkout -b tidy origin
> git checkout -p untidy
>
> And voila, you have patched in the current state of the untidy HEAD into
> your brandnew tidy branch and may choose to commit it.
>
>> So, I would have to clean up my local branch before submitting for
>> review (i.e. rebase -i and squash and reorder the patches). That's a
>> very fundamental difference in the approach. Rietveld works on the
>> diff level, gerrit on the git commit level.
>
> It is not hard to munch everything into one commit. The complex thing
> is dealing sensibly with stuff that you do _not_ want to have munched
> into a single commit.
I don't say that it's hard, i say that's additional work. Currently i
only have to do 'git cl upload origin/master' and that's all.
Also, i think that it is a difference for our Frogs.
cheers,
Janek
- Rietveld workflow problems, David Kastrup, 2011/09/21
- Re: Rietveld workflow problems, address@hidden, 2011/09/21
- Re: Rietveld workflow problems, David Kastrup, 2011/09/21
- Re: Rietveld workflow problems, Reinhold Kainhofer, 2011/09/21
- Re: Rietveld workflow problems, David Kastrup, 2011/09/21
- Re: Rietveld workflow problems, Reinhold Kainhofer, 2011/09/21
- Re: Rietveld workflow problems, Janek Warchoł, 2011/09/21
- Re: Rietveld workflow problems, David Kastrup, 2011/09/21
- Re: Rietveld workflow problems,
Janek Warchoł <=
- Re: Rietveld workflow problems, Carl Sorensen, 2011/09/21
- Re: Rietveld workflow problems, Graham Percival, 2011/09/21
- Re: Rietveld workflow problems, Janek Warchoł, 2011/09/22
- Re: Rietveld workflow problems, Carl Sorensen, 2011/09/22
Re: Rietveld workflow problems, Peekay Ex, 2011/09/21
Re: Rietveld workflow problems, Reinhold Kainhofer, 2011/09/21
Re: Rietveld workflow problems, David Kastrup, 2011/09/21