summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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