On Wednesday 24 June 2009 16:46:46 Markus Heidelberg wrote: > Rob Landley, 24.06.2009: > > On Tuesday 23 June 2009 22:56:50 Mike Frysinger wrote: > > > On Tuesday 23 June 2009 23:18:44 Rob Landley wrote: > > > > The old svn snapshots used to include the .svn directory, so you > > > > could do an svn info on them and see which repository version the > > > > snapshot was from. > > > > > > > > How do you get the corresponding info from the new nightly snapshots > > > > created from the git archive? When I download > > > > busybox-snapshot.tar.bz2 and find a bug in it, how do I say which > > > > version it was in? > > > > > > there isnt any such info in the tarball afaik. > > > > Darn it. Mercurial's had ".hg_archival.txt" in its tarballs for years > > with the version information, I just assumed git had _something_. > > $ man git-archive > Additionally the commit ID is stored in a global extended pax header if > the tar format is used; it can be extracted using git-get-tar-commit-id. > In ZIP files it is stored as a file comment. > > $ bunzip2 -c busybox-snapshot.tar.bz2 | git get-tar-commit-id > 2f86ca135069e457bb16ab9e062a10e0775717a6
cool, i wasnt aware of that > > > easiest change would be to > > > stick the hash into the dirname since `git archive --prefix=...` is > > > easy. sticking files into the stream is not. > > > > *shrug* Works for me. > > Hmm? How does this work? > I thought you download the archive and don't create it yourself. he was saying the proposed change would work for him -mike _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
