From 38775cffdf6fb849643ffac1913e97b4d88e67f5 Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Mon, 14 Nov 2022 22:51:39 +0000 Subject: [PATCH] Ensure local hash is always of length 8, for consistency. Signed-off-by: Adam Warner --- advanced/Scripts/updatecheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advanced/Scripts/updatecheck.sh b/advanced/Scripts/updatecheck.sh index 0ce9ad5d..0cc65218 100755 --- a/advanced/Scripts/updatecheck.sh +++ b/advanced/Scripts/updatecheck.sh @@ -22,7 +22,7 @@ function get_local_version() { function get_local_hash() { cd "${1}" 2> /dev/null || return 1 - git rev-parse --short HEAD || return 1 + git rev-parse --short=8 HEAD || return 1 } function get_remote_version() {