Add git subtree support to git-scm.org (#1253)

* Add git subtree support to git-scm.org

* fix: git subtree tests

* fix: test
This commit is contained in:
Leon Si 2023-04-04 17:38:25 -04:00 committed by GitHub
parent 7642d0f57c
commit 06af6705df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,6 +31,11 @@ build:
./configure $CONF ./configure $CONF
make install $BAKE make install $BAKE
cd contrib/subtree
make
make install
mv git-subtree "{{prefix}}"/libexec
cd "{{prefix}}" cd "{{prefix}}"
DEBUG=1 fix-shebangs.ts bin/* libexec/* DEBUG=1 fix-shebangs.ts bin/* libexec/*
@ -69,6 +74,8 @@ test: |
# necessary to check the libexec binaries work # necessary to check the libexec binaries work
git commit --message "test" git commit --message "test"
git subtree add --prefix teaxyz-subtree https://github.com/teaxyz/white-paper main --squash
provides: provides:
- bin/git - bin/git
- bin/git-cvsserver - bin/git-cvsserver