summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTyler Davis <tyler@gluecode.net>2025-02-07 00:34:58 +0000
committerTyler Davis <tyler@gluecode.net>2025-02-07 00:34:58 +0000
commit6d8b1ef7e80ff9892f9822f6a7119df3eaf054b5 (patch)
treeddbcabe9178d9b76a2423f2ea064387280cbf24b
parentb11ddc0840095362e1523c14b2e3e2e2bb61c633 (diff)
downloaddotfiles-6d8b1ef7e80ff9892f9822f6a7119df3eaf054b5.tar.gz
dotfiles-6d8b1ef7e80ff9892f9822f6a7119df3eaf054b5.zip
git: do not use reftable for bsd, for now
-rwxr-xr-x.local/bin/confgit.sh2
-rw-r--r--.local/share/git/repolist2
2 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/confgit.sh b/.local/bin/confgit.sh
index 878149b..e1db9a4 100755
--- a/.local/bin/confgit.sh
+++ b/.local/bin/confgit.sh
@@ -88,7 +88,7 @@ git config --global tag.sort taggerdate
git config --global user.email tyler@gluecode.net
git config --global user.name "Tyler Davis"
-if [ "${VER}" \> "2.47" ]; then
+if [ "${VER}" \> "2.47" ] && [ "$(uname -s | grep -q BSD)" ]; then
# Only enable reftable by default on git 2.47+
git config --global init.defaultRefFormat reftable
fi
diff --git a/.local/share/git/repolist b/.local/share/git/repolist
index 534ed0a..9cd3c7f 100644
--- a/.local/share/git/repolist
+++ b/.local/share/git/repolist
@@ -6,6 +6,6 @@ gotosocial,origin=https://github.com/superseriousbusiness/gotosocial.git
hut,origin=https://git.sr.ht/~xenrox/hut
journal,origin=ssh://tydavis@git.gluecode.net:/var/www/.gitdata/journal.git,sourcehut=git@git.sr.ht:~tydavis/journal
resume,origin=git@git.sr.ht:~tydavis/resume
-standards,origin=git@git.sr.ht:~tydavis/standards
+standards,origin=git@git.sr.ht:~tydavis/standards,sourcehut=git@git.sr.ht:~tydavis/standards
wally-cli,origin=git@github.com:zsa/wally-cli.git
xcaddy,origin=https://github.com/caddyserver/xcaddy.git