dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 76a90c69d032d9be43206a73b68c488f8f3e9f16 (patch)
parent 6c1fc38344f3044fb4669995eff0bf7353fc694c
Author: Alex Karle <alex@alexkarle.com>
Date:   Sat, 10 Dec 2022 11:25:40 -0500

bin: Update changed branch to default to 'main'

Diffstat:
Mbin/changed | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/changed b/bin/changed @@ -6,7 +6,7 @@ die() { } REPO=$(git rev-parse --show-toplevel 2>/dev/null) -BASE=${BASE:-master} +BASE=${BASE:-main} if [ -n "$REPO" ]; then MBASE="$(git merge-base origin/$BASE HEAD 2>/dev/null)" [ -z "$MBASE" ] && die "origin/$BASE doesn't exist; set \$BASE and try again"