diff --git a/projects/git-scm.org/gitconfig b/projects/git-scm.org/gitconfig new file mode 100644 index 00000000..2362cfc5 --- /dev/null +++ b/projects/git-scm.org/gitconfig @@ -0,0 +1,2 @@ +[core] + excludesfile = %(prefix)/etc/gitignore diff --git a/projects/git-scm.org/gitignore b/projects/git-scm.org/gitignore new file mode 100644 index 00000000..99397bf9 --- /dev/null +++ b/projects/git-scm.org/gitignore @@ -0,0 +1,2 @@ +# banish ye, the bane of our existence +.DS_Store diff --git a/projects/git-scm.org/package.yml b/projects/git-scm.org/package.yml index 5ed1495d..1e39ee5c 100644 --- a/projects/git-scm.org/package.yml +++ b/projects/git-scm.org/package.yml @@ -23,6 +23,9 @@ build: cd "{{prefix}}" DEBUG=1 fix-shebangs.ts bin/* libexec/git-core/* + + mkdir etc + cp "$SRCROOT"/props/git* etc env: V: 1 BAKE: @@ -31,7 +34,15 @@ build: CONF: - --prefix={{ prefix }} - --with-perl={{ deps.perl.org.prefix }} + - --with-gitconfig=etc/gitconfig INSTALL_STRIP: -s test: | git clone https://github.com/teaxyz/white-paper + + mkdir foo + cd foo + touch .DS_Store testfile + git init + git add . + test "$(git diff --name-only --cached)" = "testfile"