fi
# Make repository.
-git-init-db >/dev/null
+git init-db >/dev/null
# Make a dummy commit to hold all the files.
function list-files-to-add {
find . -wholename './.git' -prune -or '(' -type f -or -type l ')' -printf '%P\n'
}
-list-files-to-add | git-update-index --add --stdin >/dev/null
-tree=$(git-write-tree)
+list-files-to-add | git update-index --add --stdin >/dev/null
+tree=$(git write-tree)
function clean-commit {
- GIT_AUTHOR_NAME='reproducible' GIT_AUTHOR_EMAIL='' GIT_AUTHOR_DATE='946684801 +0000' GIT_COMMITTER_NAME='reproducible' GIT_COMMITTER_EMAIL='' GIT_COMMITTER_DATE='946684801 +0000' git-commit-tree "$@" </dev/null
+ GIT_AUTHOR_NAME='reproducible' GIT_AUTHOR_EMAIL='' GIT_AUTHOR_DATE='946684801 +0000' GIT_COMMITTER_NAME='reproducible' GIT_COMMITTER_EMAIL='' GIT_COMMITTER_DATE='946684801 +0000' git commit-tree "$@" </dev/null
}
clean-commit $tree >.git/refs/heads/master
# Pack things up nicely.
-git-repack -a >/dev/null
+git repack -a >/dev/null
for i in pack idx; do
mv .git/objects/pack/{pack*.$i,pack.$i}
done
-git-prune >/dev/null
+git prune >/dev/null
# Write out git repository as a Matt-style file tree.
function write_file {