All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] git setlocalversion
Date: Thu, 12 Feb 2009 18:07:50 -0500	[thread overview]
Message-ID: <200902121807.55728.vapier@gentoo.org> (raw)
In-Reply-To: <4994A300.2070702@siconix.com>

On Thursday 12 February 2009 17:30:24 Derek Ou wrote:
> Our company uses svn for the source code management but I use git
> locally to track
> my development.  When I build U-boot, it always complains about "fatal:
> cannot
> describe" the SHA1 # of HEAD.  It goes back to line 16 of
> tools/setlocalversion.
>
> I know that the error will go away when I tag my git HEAD.  But what is the
> philosophy of this setlocalversion?  Should I always tag the top commit
> of my
> git tree to maintain a clean U_BOOT_VERSION define?

it's to provide a simple way of getting the "current" git tree into the u-boot 
build.  it doesnt always work.  i recall fixing this once locally (as i was 
using git-svn for a u-boot svn repo), but i dont recall exactly how i did it.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090212/fe2f55d1/attachment.pgp 

      reply	other threads:[~2009-02-12 23:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-12 22:30 [U-Boot] git setlocalversion Derek Ou
2009-02-12 23:07 ` Mike Frysinger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200902121807.55728.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.