4

Concerning these URLs:

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

How do I, say, the MANIFEST from perl-5.10.0?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
git
  • 41
  • 1

3 Answers3

2

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
  • 60,452
  • 11
  • 85
  • 78
2

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
  • 214,407
  • 26
  • 209
  • 186
0

Direct your browser to http://perl5.git.perl.org/perl.git/blob_plain/HEAD:/MANIFEST. ​​​​​

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
innaM
  • 47,505
  • 4
  • 67
  • 87