lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LNX.1.10.0807051454470.28765@fbirervta.pbzchgretzou.qr>
Date:	Sat, 5 Jul 2008 14:58:48 +0200 (CEST)
From:	Jan Engelhardt <jengelh@...ozas.de>
To:	Sebastian Siewior <lkml@...breakpoint.cc>
cc:	Sam Ravnborg <sam@...nborg.org>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: linux fatal: cannot describe <sha1>

On Wednesday 2008-07-02 00:18, Sebastian Siewior wrote:
>* Sam Ravnborg | 2008-07-01 22:09:51 [+0200]:
>
>>> Just a note that when you run git-describe, you should probably quiten it.
>>> 
>>> fatal: cannot describe 'bd7364a0fd5a4a2878fe4a224be1b142a4e6698e'
>>> 
>>
>>Hi Jan.
>>
>>Any specific reason why you sent it to me?

You are the buildsystem maintainer :)

>Maybe he was thinking about this (and didn't know that you were moving):

I only took note of that briefly. Should there have been someone
else to send it to?

>---
>scripts: don't desribe if there is nothing to describe
>diff --git a/scripts/setlocalversion b/scripts/setlocalversion
>index 1c1bdaf..83b7512 100755
>--- a/scripts/setlocalversion
>+++ b/scripts/setlocalversion
>@@ -12,7 +12,9 @@ cd "${1:-.}" || usage
> if head=`git rev-parse --verify HEAD 2>/dev/null`; then
> 	# Do we have an untagged version?
> 	if git name-rev --tags HEAD | grep -E '^HEAD[[:space:]]+(.*~[0-9]*|undefined)$' > /dev/null; then
>-	        git describe | awk -F- '{printf("-%05d-%s", $(NF-1),$(NF))}'
>+		if tag=`git describe 2>/dev/null`; then
>+			echo $tag | awk -F- '{printf("-%05d-%s", $(NF-1),$(NF))}'
>+		fi
> 	fi
> 
> 	# Are there uncommitted changes?

looks ok i'd say.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ