From eaead154d624866828059eaeff312d8d4a06af86 Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Wed, 15 May 2024 10:41:17 -0400 Subject: [PATCH] bin: Fix changed script with `--` args --- bin/changed | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/changed b/bin/changed index 1ef90ee..e4f59ae 100755 --- 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 -- libgit2 1.1.1