Eugen Konkov
Eugen Konkov

Reputation: 25143

Why base.pm is not visible on file list on github?

If you go by link: https://github.com/Perl/perl5/tree/blead/lib

You will not find base.pm file

enter image description here

But If you clone this repo locally base.pm will be found at lib/base.pm

Why base.pm is not visible on the github?

UPD

kes@work ~/work/projects/github-forks/perl-hub/lib $ git tree | head -n 5
* 320f4ba290 (HEAD -> blead, upstream/blead) Sync DB_File with CPAN version 1.856
*   415da10787 Merge branch '18780-compound-token-split-by-macro' into blead
|\  
| * 7169efc775 skip using gcc brace groups for STMT_START/END
|/  

kes@work ~/work/projects/github-forks/perl-hub/lib $ git remote -v
upstream    hub:Perl/perl5 (fetch)
upstream    hub:Perl/perl5 (push)

where hub is configured to github.com via .ssh/config:

host    hub
        user git
        hostname github.com
        PreferredAuthentications publickey
        port 22

Upvotes: 2

Views: 70

Answers (1)

Dave Mitchell
Dave Mitchell

Reputation: 2403

In the perl distribution, that file exists as dist/base/lib/base.pm. It is copied to lib/base.pm as part of the build process

Upvotes: 1

Related Questions