From ca5f0a5eddc39946e03c0a352ff9885f4a1e7d0c Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Tue, 7 Oct 2025 01:25:19 +0100 Subject: get.sh: use git-show instead, for rev checks whatchanged is deprecated, and results in an error on modern git versions, prompting you to include the --i-still-use-this argument what absolute, utter fucking arrogance. i use the whatchanged feature every fucking day. i will be complaining to git-scm.com about this. but that's what we do in libreboot. we adapt. Signed-off-by: Leah Rowe --- include/get.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/get.sh b/include/get.sh index 0d430abe..4731c694 100644 --- a/include/get.sh +++ b/include/get.sh @@ -288,7 +288,7 @@ try_git() x_ mv "$tmpgitcache" "$gitdest" fi - if git -C "$gitdest" whatchanged "$7" 1>/dev/null 2>/dev/null && \ + if git -C "$gitdest" show "$7" 1>/dev/null 2>/dev/null && \ [ "$forcepull" != "y" ]; then # don't try to pull the latest changes if the given target # revision already exists locally. this saves a lot of time -- cgit v1.2.1