[U-Boot] Banner -> git co target?

Anatolij Gustschin agust at denx.de
Mon Apr 1 16:07:56 CEST 2013


Hello,

On Mon, 1 Apr 2013 09:16:06 -0400
Michael Cashwell <mboards at prograde.net> wrote:

> Greetings,
> 
> My u-boot work area got messed up recently when I pulled from master. I'm having trouble figuring out what's wrong.
> 
> I have this banner "U-Boot SPL 2013.04-rc1-00024-ga268170-dirty (Mar 15 2013 - 10:24:41)" from a recently working state. A corresponding banner that's broken for me is "U-Boot SPL 2013.04-rc1-00292-g417c558-dirty (Apr 01 2013 - 08:10:25)"
> 
> I'd like to go through and methodically compare these two but I can't figure out what git command would rewind the work area back to a state that corresponds to a known u-boot banner.
> 
> I assume the key bits are "00024-ga268170" but I expect I need a commit ID or branch name and that doesn't seem to be either.
> 
> Any pointers?

Commit ID is "a268170" (remove 'g'), with 24 new patches committed
after v2013.04-rc1 tag. So

  git checkout -b working-state a268170

should work.

Thanks,

Anatolij


More information about the U-Boot mailing list