Entware / Entware-ng

Entware-ng
GNU General Public License v2.0
1.21k stars 153 forks source link

Git package missing templates directory #837

Closed gmerrall closed 6 years ago

gmerrall commented 6 years ago

The git templates template directory is not populated which causes issues when creating git repositories. Normally when you run "git init --bare" a number of files are copied over including the contents of the 'template' directory which typically contains sample scripts.

Perform the following steps on a regular box with git installed

$ strings which git | grep /templates share/git-core/templates $ ls /usr/share/git-core/templates/ branches description hooks info If this is done with a Entware-ng-3x install

$ strings which git | grep /templates /opt/share/git-core/templates $ ls /opt/share/git-core/templates

Expected result is the template files should be present You can also do the same action by running 'git init --bare' and observe different results.
zyxmon commented 6 years ago

Please - report upstream. https://github.com/openwrt/packages