summaryrefslogtreecommitdiff
path: root/include/get.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-10-07 01:25:19 +0100
committerLeah Rowe <leah@libreboot.org>2025-10-07 01:25:19 +0100
commitca5f0a5eddc39946e03c0a352ff9885f4a1e7d0c (patch)
tree159aa140cb02d5bdc11a609f9dba77c7540aa456 /include/get.sh
parent8636d7497cb455ac15407e737b479180186996ee (diff)
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 <leah@libreboot.org>
Diffstat (limited to 'include/get.sh')
-rw-r--r--include/get.sh2
1 files changed, 1 insertions, 1 deletions
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