Hi Keith,
On Mon, Aug 1, 2011 at 12:41 AM, Keith Hui <buurin(a)gmail.com> wrote:
> I'm trying to get this back in after we switched to git:
>
> http://review.coreboot.org/122
>
> All seems good except some whitespace fixes. Making the fix is easy,
> submitting it through git is where I need help.
>
> Problem is I can't seem to get correct the sequence of commands. Right
> now I would...
>
> git clone...
> make gitconfig
> Do the cleanup
> git add the files
> git commit
> git rebase -i master
> git push origin
>
> and now I don't know if I have done it right. At one time gerrit
> rejected my submit, on next try the second submitted is identical to
> the first. Another problem is a few other commits gets merged into
> master in the meantime and it wants me to merge them in my local
> before accepting my push, which is making me feel lost.
>
> At this point should i expect an incremental commit with the original,
> submitted commit being the parent? How do I make sure gerrit know this
> is for the same Change-Id?
>
> I'll admit before this I have never used git, and yes, I have read the
> few sites about this.
>
> Thanks for your help.
>
An incremental commit on the same change ID needs to have the entire
commit you want to make. You can't have two commits with one
change-id. What you want to do is edit your commit, rebase -i, and
edit the commit. You best option for getting more help is in
#coreboot.
Marc
--
http://se-eng.com
Alexandru Gagniuc (mr.nuke.me(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/123
-gerrit
commit fa78e5d1efc9b155537562ed385ad76ddc216a3c
Author: Alexandru Gagniuc <mr.nuke.me(a)gmail.com>
Date: Mon Aug 1 03:54:58 2011 -0500
Do not compile nuvoton wpcm450 early init
wpcm450 early_init.c was compiled whether or not this superio is selected.
Change-Id: Iabc1970847b8383a01eb94012dcbec83dd774233
Signed-off-by: Alexandru Gagniuc <mr.nuke.me(a)gmail.com>
---
src/superio/nuvoton/wpcm450/Makefile.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/superio/nuvoton/wpcm450/Makefile.inc b/src/superio/nuvoton/wpcm450/Makefile.inc
index c70b2fb..db88097 100644
--- a/src/superio/nuvoton/wpcm450/Makefile.inc
+++ b/src/superio/nuvoton/wpcm450/Makefile.inc
@@ -18,6 +18,6 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-romstage-y += early_init.c
+romstage-$(CONFIG_SUPERIO_NUVOTON_WPCM450) += early_init.c
ramstage-$(CONFIG_SUPERIO_NUVOTON_WPCM450) += superio.c
I'm trying to get this back in after we switched to git:
http://review.coreboot.org/122
All seems good except some whitespace fixes. Making the fix is easy,
submitting it through git is where I need help.
Problem is I can't seem to get correct the sequence of commands. Right
now I would...
git clone...
make gitconfig
Do the cleanup
git add the files
git commit
git rebase -i master
git push origin
and now I don't know if I have done it right. At one time gerrit
rejected my submit, on next try the second submitted is identical to
the first. Another problem is a few other commits gets merged into
master in the meantime and it wants me to merge them in my local
before accepting my push, which is making me feel lost.
At this point should i expect an incremental commit with the original,
submitted commit being the parent? How do I make sure gerrit know this
is for the same Change-Id?
I'll admit before this I have never used git, and yes, I have read the
few sites about this.
Thanks for your help.