From c3125b4b1c3aa516bf34942ad9199fd04b154271 Mon Sep 17 00:00:00 2001 From: Alex Kremer Date: Tue, 12 Mar 2024 17:40:13 +0000 Subject: [PATCH] Configure git-lfs (#1210) --- .gitattributes | 2 + .githooks/post-checkout | 3 + .githooks/post-commit | 3 + .githooks/post-merge | 3 + .githooks/pre-push | 3 + docs/img/xrpl-logo.svg | 120 +--------------------------------------- 6 files changed, 17 insertions(+), 117 deletions(-) create mode 100644 .gitattributes create mode 100755 .githooks/post-checkout create mode 100755 .githooks/post-commit create mode 100755 .githooks/post-merge create mode 100755 .githooks/pre-push diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..206b15a7 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +*.png filter=lfs diff=lfs merge=lfs -text +*.svg filter=lfs diff=lfs merge=lfs -text diff --git a/.githooks/post-checkout b/.githooks/post-checkout new file mode 100755 index 00000000..ca7fcb40 --- /dev/null +++ b/.githooks/post-checkout @@ -0,0 +1,3 @@ +#!/bin/sh +command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'post-checkout' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks').\n"; exit 2; } +git lfs post-checkout "$@" diff --git a/.githooks/post-commit b/.githooks/post-commit new file mode 100755 index 00000000..52b339cb --- /dev/null +++ b/.githooks/post-commit @@ -0,0 +1,3 @@ +#!/bin/sh +command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'post-commit' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks').\n"; exit 2; } +git lfs post-commit "$@" diff --git a/.githooks/post-merge b/.githooks/post-merge new file mode 100755 index 00000000..a912e667 --- /dev/null +++ b/.githooks/post-merge @@ -0,0 +1,3 @@ +#!/bin/sh +command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'post-merge' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks').\n"; exit 2; } +git lfs post-merge "$@" diff --git a/.githooks/pre-push b/.githooks/pre-push new file mode 100755 index 00000000..0f0089bc --- /dev/null +++ b/.githooks/pre-push @@ -0,0 +1,3 @@ +#!/bin/sh +command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'pre-push' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks').\n"; exit 2; } +git lfs pre-push "$@" diff --git a/docs/img/xrpl-logo.svg b/docs/img/xrpl-logo.svg index 35fdd60b..1a3c0101 100644 --- a/docs/img/xrpl-logo.svg +++ b/docs/img/xrpl-logo.svg @@ -1,117 +1,3 @@ - - - - +version https://git-lfs.github.com/spec/v1 +oid sha256:d1faa73951abbb8880a3e12e7708c4ced8fcfa6d92617bb4f3164c33c1520ec1 +size 13179