[PATCH] add-build-git-head-info.patch

Andy Green andy at openmoko.com
Sun Jul 27 16:08:41 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:

| + HEAD=`git show --pretty=oneline | cut -d' ' -f1 | cut -b1-16`

Make that

~ HEAD=`git show --pretty=oneline | head -n1 | cut -d' ' -f1 | cut -b1-16`

at least here git has a funny idea about "oneline" if the top patch has
content.

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkiMgWIACgkQOjLpvpq7dMrO5gCeNhmzitkfCeRTRZne2d6IyAsW
dTYAn2WbZp3rozctplqEGb9EKPW0ZZv2
=0vGS
-----END PGP SIGNATURE-----




More information about the openmoko-kernel mailing list