Added .gitmodules file, .githooks/ directory and check-in gitattributes database.

This commit is contained in:
Darren 'Tadgy' Austin 2024-08-25 20:34:02 +01:00
commit 68198bedec
7 changed files with 148 additions and 0 deletions

73
.gitattributesdb Normal file
View file

@ -0,0 +1,73 @@
# This is the gitattributesdb database file.
# Do not manually edit this file - any changes will be overwritten.
LmJhc2hfbG9nb3V0 1724604115.707184525 1724604120.844974739 root:root 0644 - -
LmJhc2hfcHJvZmlsZQ== 1724603117.381212400 1699054853.073970225 tadgy:users 0644 - -
LmJhc2hyYw== 1724529154.441277405 1724462955.427818700 tadgy:users 0644 - -
LmNvbmZpZy8uZ2l0aWdub3Jl 1724603481.601075802 1724603481.607075557 root:root 0644 - -
LmNvbmZpZy9iYXQvY29uZmln 1724463022.797001518 1724611589.222141848 tadgy:users 0644 - -
LmNvbmZpZy9odG9wL2h0b3ByYw== 1699313773.313100954 1714866668.270612916 root:root 0644 - -
LmRpcl9jb2xvcnM= 1699313773.315100868 1724453355.368374820 root:root 0644 - -
LmVzeGNsaS1lc3gwLmdwZw== 1699313780.070811396 1724611854.494309944 root:root 0600 - -
LmVzeGNsaS1lc3gxLmdwZw== 1699313780.070811396 1724611854.494309944 root:root 0600 - -
LmVzeGNsaS1lc3gyLmdwZw== 1699313780.070811396 1724611854.494309944 root:root 0600 - -
LmVzeGNsaS1lc3gzLmdwZw== 1699313780.070811396 1724611854.494309944 root:root 0600 - -
LmdpdGNvbmZpZy1kZWZhdWx0 1699313773.315100868 1699657327.346645142 root:root 0644 - -
LmdpdGNvbmZpZy1yb290QCo= 1699313773.315100868 1699657327.346645142 root:root 0644 - -
LmdpdGNvbmZpZy1yb290QCouYWZ0ZXJkYXJrLmxhbg== 1699313773.315100868 1724590801.273101876 root:root 0644 - -
LmdpdGNvbmZpZy10YWRneUAq - -
LmdpdGNvbmZpZy10YWRneUAqLmFmdGVyZGFyay5sYW4= - -
LmdpdGNvbmZpZy10YWRneUBjaHVja2llLmFmdGVyZGFyay5sYW4= - -
LmdpdGhvb2tzL2dpdGF0dHJpYnV0ZXNkYg== 1724613975.766766707 1724614294.683772641 root:root 0755 - -
LmdpdGhvb2tzL3Bvc3QtY2hlY2tvdXQ= 1724614057.551433959 1724614363.110986157 root:root 0755 - -
LmdpdGhvb2tzL3Bvc3QtbWVyZ2U= 1724614081.488458505 1724614363.110986157 root:root 0755 - -
LmdpdGhvb2tzL3ByZS1jb21taXQ= 1724614198.671683084 1724614363.110986157 root:root 0755 - -
LmdpdGlnbm9yZQ== 1724603481.602075762 1724603481.607075557 root:root 0644 - -
LmdpdG1vZHVsZXM= 1724613975.770766543 1724613975.771766503 root:root 0644 - -
LmdudXBnLy5naXRpZ25vcmU= 1699313773.315100868 1724603479.661155010 root:root 0644 - -
LmdudXBnLy5ncGctdjIxLW1pZ3JhdGVk 1699313773.316100825 1699313773.316100825 root:root 0644 - -
LmdudXBnL2dwZy1hZ2VudC5jb25m 1699313773.316100825 1724612327.125010997 root:root 0644 - -
LmdudXBnL2dwZy5jb25m 1699313773.316100825 1724612303.049994052 root:root 0644 - -
LmdudXBnL29wZW5wZ3AtcmV2b2NzLmQvLmdpdGlnbm9yZQ== 1699313773.316100825 1724612359.846674874 root:root 0644 - -
LmdudXBnL29wZW5wZ3AtcmV2b2NzLmQvNzBEOTQ2RUQ1NjNGQkE3NzhFQ0YyMjlCMjVDODdDREY4MzY3MzczMC5yZXYuZ3Bn 1699313773.316100825 1699313780.065811610 root:root 0644 - -
LmdudXBnL3ByaXZhdGUta2V5cy12MS5kLy5naXRpZ25vcmU= 1699313773.316100825 1699313780.065811610 root:root 0644 - -
LmdudXBnL3ByaXZhdGUta2V5cy12MS5kLzhDMzE0REY3OEZGNjk3QjM3RTFCM0FDNkYxRjdDQzY4MjIxRTVDRTYua2V5LmdwZw== 1699313773.316100825 1699313780.065811610 root:root 0644 - -
LmdudXBnL3ByaXZhdGUta2V5cy12MS5kL0FERjg1Njk1QUQzRTdCQjg3RjE0RkNGRUMzRENDQUEzRDI4NzIyQzcua2V5LmdwZw== 1699313773.316100825 1699313780.065811610 root:root 0644 - -
LmdudXBnL3ByaXZhdGUta2V5cy12MS5kL0U2NkRBNUNBRDUwNkFGRUVCQjAyMkQ3QThGMkQ4MDM3RjA3QTEyNEQua2V5LmdwZw== 1699313773.316100825 1699313780.065811610 root:root 0644 - -
LmdudXBnL3ByaXZhdGUta2V5cy12MS5kL0U3QTUwRUJDRjM5RTBBQkE2OEQzNjE2QjNFMzY0N0I4QURFMkJDQjUua2V5LmdwZw== 1699313773.316100825 1699313780.065811610 root:root 0644 - -
LmdudXBnL3B1YmxpYy5rZXk= 1699313773.316100825 1724612439.146436832 root:root 0644 - -
LmdudXBnL3B1YnJpbmcuZ3Bn 1699313773.316100825 1724612454.985790064 root:root 0644 - -
LmdudXBnL3B1YnJpbmcua2J4 1699313773.316100825 1724612470.794144564 root:root 0644 - -
LmdudXBnL3NlY3JpbmcuZ3Bn 1699313773.316100825 1699313773.316100825 root:root 0644 - -
LmdudXBnL3RvZnUuZGI= 1699313773.316100825 1699313780.065811610 root:root 0644 - -
LmdudXBnL3RydXN0ZGIuZ3Bn 1699313773.317100782 1724612496.490095324 root:root 0644 - -
LmlmdG9wcmM= 1699313780.070811396 1716017609.272088441 root:root 0644 - -
LmlucHV0cmM= 1699313773.317100782 1724453356.068346250 root:root 0644 - -
LmxvY2FsLy5naXRpZ25vcmU= 1724612606.997582982 1724613738.305442845 root:root 0644 - -
LmxvY2FsL3NoYXJlLy5naXRpZ25vcmU= 1699313773.318100739 1724603479.661155010 root:root 0644 - -
LmxvY2FsL3NoYXJlL25hbm8vLmdpdGlnbm9yZQ== 1699313773.318100739 1724603479.661155010 root:root 0644 - -
Lmx5bngtYm9va21hcmtzLmh0bWw= 1699313773.318100739 1724612649.810834795 root:root 0600 - -
Lmx5bnguY2Zn 1699313773.320100653 1706725587.419042434 root:root 0644 - -
Lmx5bngubHNz 1699313773.320100653 1706725587.420042391 root:root 0644 - -
Lmx5bnhyYw== 1699313773.320100653 1706725587.420042391 root:root 0644 - -
Lm1pbmlyYy5kZmw= 1699313780.070811396 1724613070.363662444 root:root 0644 - -
Lm5hbm9yYy0y 1699313773.320100653 1699657327.349645017 root:root 0644 - -
Lm5hbm9yYy01 1699313773.320100653 1699657327.349645017 root:root 0644 - -
Lm5hbm9yYy02 1699313773.320100653 1699657327.349645017 root:root 0644 - -
Lm5hbm9yYy03 1699313773.320100653 1714847428.631748083 root:root 0644 - -
Lm5hbm9yYy04 1720279327.082043511 1724597144.891732462 root:root 0644 - -
Lm5hbm9yYy1kYXJ3aW4= 1699313773.320100653 1699657327.349645017 root:root 0644 - -
LnNjcmVlbnJj 1699313773.321100611 1723836836.289582031 root:root 0644 - -
LnNoZWxsY2hlY2tyYw== 1699313773.321100611 1699657327.349645017 root:root 0644 - -
LnNzaC8uZ2l0aWdub3Jl 1699313780.071811353 1724602350.806243003 root:root 0644 - -
LnNzaC9hdXRob3JpemVkX2tleXM= 1699313773.321100611 1724613341.483610986 root:root 0600 - -
LnNzaC9jb25maWc= 1724603481.602075762 1724613341.483610986 root:root 0600 - -
LmJhc2hfaGlzdG9yeS1waGls 1724354056.082038246 1724453355.424372535 root:root 0600 - -
LmVzeGNsaS1lc3gwLmdwZw== 1699313780.070811396 1724611854.494309944 root:root 0600 - -
LmVzeGNsaS1lc3gxLmdwZw== 1699313780.070811396 1724611854.494309944 root:root 0600 - -
LmVzeGNsaS1lc3gyLmdwZw== 1699313780.070811396 1724611854.494309944 root:root 0600 - -
LmVzeGNsaS1lc3gzLmdwZw== 1699313780.070811396 1724611854.494309944 root:root 0600 - -
LmdpdA== 1724614442.494753391 1714913373.953294495 root:root 0700 - -
LmdudXBnL3JhbmRvbV9zZWVk 1699554348.493632349 1699554331.854331666 root:root 0600 - -
LnNzaC9hZ2VudHM= 1724453355.468370739 1724453355.429372331 root:root 0600 - -
LnNzaC9rbm93bl9ob3N0cw== 1721585018.655169717 1721585031.292661546 root:root 0600 - -

12
.gitattributesdb-extra Normal file
View file

@ -0,0 +1,12 @@
LmJhc2hfaGlzdG9yeSo=
LmVzeGNsaS0q
LmdpdA==
LmdudXBnL29wZW5wZ3AtcmV2b2NzLmQvKi5yZXY=
LmdudXBnL3ByaXZhdGUta2V5cy12MS5kLyoua2V5
LmdudXBnL3JhbmRvbV9zZWVk
LnNzaC9hZ2VudHM=
LnNzaC9pZF9yc2E=
LnNzaC9pZF9yc2EtKg==
LnNzaC9pZF9lZDI1NTE5
LnNzaC9pZF9lZDI1NTE5LSo=
LnNzaC9rbm93bl9ob3N0cw==

@ -0,0 +1 @@
Subproject commit ac9b32f13b351778ade18d595fb08e037541925a

4
.githooks/post-checkout Executable file
View file

@ -0,0 +1,4 @@
#!/usr/bin/env bash
# Store/restore the attributes of files:
.githooks/gitattributesdb/gitattributesdb "${0##*/}" || exit $?

4
.githooks/post-merge Executable file
View file

@ -0,0 +1,4 @@
#!/usr/bin/env bash
# Store/restore the attributes of files:
.githooks/gitattributesdb/gitattributesdb "${0##*/}" || exit $?

51
.githooks/pre-commit Executable file
View file

@ -0,0 +1,51 @@
#!/bin/bash
#
# An example hook script to verify what is about to be committed.
# Called by "git commit" with no arguments. The hook should
# exit with non-zero status after issuing an appropriate message if
# it wants to stop the commit.
#
# To enable this hook, rename this file to "pre-commit".
if git rev-parse --verify HEAD >/dev/null 2>&1
then
against=HEAD
else
# Initial commit: diff against an empty tree object
against=$(git hash-object -t tree /dev/null)
fi
# If you want to allow non-ASCII filenames set this variable to true.
allownonascii=$(git config --type=bool hooks.allownonascii)
# Redirect output to stderr.
exec 1>&2
# Cross platform projects tend to avoid non-ASCII filenames; prevent
# them from being added to the repository. We exploit the fact that the
# printable range starts at the space character and ends with tilde.
if [ "$allownonascii" != "true" ] &&
# Note that the use of brackets around a tr range is ok here, (it's
# even required, for portability to Solaris 10's /usr/bin/tr), since
# the square bracket bytes happen to fall in the designated range.
test $(git diff --cached --name-only --diff-filter=A -z $against |
LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0
then
cat <<\EOF
Error: Attempt to add a non-ASCII file name.
This can cause problems if you want to work with people on other platforms.
To be portable it is advisable to rename the file.
If you know what you are doing you can disable this check using:
git config hooks.allownonascii true
EOF
exit 1
fi
# If there are whitespace errors, print the offending file names and fail.
git diff-index --check --cached $against -- || exit $?
.githooks/gitattributesdb/gitattributesdb "${0##*/}" || exit $?

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule ".githooks/gitattributesdb"]
path = .githooks/gitattributesdb
url = https://afterdark.org.uk/git/Projects/gitattributesdb.git