From: Wolfgang Denk Date: Tue, 21 Sep 2010 21:33:31 +0200 Subject: [U-Boot] [PATCH] setlocalversion: add some more fallbacks for git describe In-Reply-To: <1285007778-22418-1-git-send-email-vapier@gentoo.org> References: <1285007778-22418-1-git-send-email-vapier@gentoo.org> Message-ID: <20100921193331.3192D157D71@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Mike Frysinger, In message <1285007778-22418-1-git-send-email-vapier@gentoo.org> you wrote: > If working out of a custom git tree that lacks annotated tags, the > 'git describe' operation spews "fatal: cannot describe" errors all > over the place. So add some fallback code in case the best naming > was unable to locate something useful. > > Signed-off-by: Mike Frysinger > --- > tools/setlocalversion | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "Who alone has reason to *lie himself out* of actuality? He who *suffers* from it." - Friedrich Nietzsche