tags:

views:

133

answers:

3

git://perl5.git.perl.org/perl.git http://perl5.git.perl.org/perl.git/tags

say i want to get the MANIFEST from perl-5.10.0, how?

+1  A: 

By directing your browser to http://perl5.git.perl.org/perl.git/blob%5Fplain/HEAD%3A/MANIFEST perhaps?

innaM
the question is how to do it using GIT
git
+1  A: 

There is no way to grab a single file from a Git repository (using a Git client) right now. However, as noted by Manni, the files can be downloaded using a web client if the repository is exposed that way.

There are patches under development to add a sparse checkout feature to Git, but it is not yet complete.

See the Git mail list for details. The latest info (that I could find) is here.

Tim Henigan
A: 

If the the server will process git archive requests (it is disabled by default for git daemon, but it seems to be on for git://perl5.git.perl.org):

git archive --remote=git://perl5.git.perl.org/perl.git --format=tar \
    perl-5.10.0 MANIFEST | tar -xOf - >MANIFEST-5.10.0
Chris Johnsen