develooper Front page | perl.perl5.porters | Postings from January 2009

Minimal Perl git repostory

Thread Next
Jerry D. Hedden
January 7, 2009 10:31
Minimal Perl git repostory
Message ID:
Building Perl inside a git repository is necessary so that
the git commands in (and elsewhere) will

After building, I tar up the build directory (complete with
all the object files, etc.) so that I can untar and use it
again at a later date if needed.

Currently, the Perl git repository uses about 172MB of disk
space.  If I make a shared clone of the respository, it only
uses about 74MB.  However, the shared clone is dependent on
the original respository so that if I tar up my build and
then untar it later, any git commands issued in it may not

So, what I need is a way to get a minimal copy of the
respository set to a particular commit ID that will still
function for various git commands used as part of the build
process, yet is independent of the original repository.  The
copied respository can be read-only in that I won't be using
it to commit any changes, create any branches and so on.

Is the above possible?

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About