git archive
- From
- kenneth johansson <ken@kenjo.org>
- Date
- Oct 22, 2008, 08:42 UTC
- Message-ID
- <gdmp0p$92r$1@ger.gmane.org>
I was going to make a tar of the latest stable linux kernel. Done it before but now I got a strange problem.
>git archive --format=tar v2.6.27.2
fatal: Not a valid object name
this is the output from some other command on the same bare repository.
>git tag | grep 2.6.27.2
v2.6.27.2
>git cat-file -p v2.6.27.2
object 6bcd6d778419101dd96cbbdf03eeab8d779b1d66 type commit tag v2.6.27.2 tagger Greg Kroah-Hartman <gregkh@suse.de> Sat Oct 18 10:58:00 2008 -0700
This is the v2.6.27.2 stable release -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux)
iEYEABECAAYFAkj6I6sACgkQMUfUDdst+ylcigCg0/e3kQZwAqLp6wPuPqdWl7nL X0wAnjuNPJG1OqZfhMiAGccLx0QGvMQz =INvo -----END PGP SIGNATURE-----
>git cat-file -p 6bcd6d778419101dd96cbbdf03eeab8d779b1d66
tree a717af81e5a2e8a7ee36f3b80aa077965f570197 parent 6505670551fa3deeb6e5d7cab6983514384c7220 author Greg Kroah-Hartman <gregkh@suse.de> 1224352642 -0700 committer Greg Kroah-Hartman <gregkh@suse.de> 1224352642 -0700
Linux 2.6.27.2
>git archive --format=tar a717af81e5a2e8a7ee36f3b80aa077965f570197
fatal: not a tree object
>git cat-file -t a717af81e5a2e8a7ee36f3b80aa077965f570197
tree