dotfiles

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

commit eaead154d624866828059eaeff312d8d4a06af86 (patch)
parent de515819a871ce54ad3f31ad34b8e19fc196dbc2
Author: Alex Karle <alex@alexkarle.com>
Date:   Wed, 15 May 2024 10:41:17 -0400

bin: Fix changed script with `--` args

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

diff --git a/bin/changed b/bin/changed @@ -10,7 +10,7 @@ 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" - git diff "$@" "$MBASE" + git diff "$MBASE" "$@" else die "not in a git repo" fi