From c37f2aaca39f507cd4c6a5d6af6a2b6f2a588aaa Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Thu, 20 Nov 2025 16:15:26 +0100 Subject: [PATCH] pgit.sh: Deprecate CentOS 7 CentOS 7's Git doesn\'t understand -C, consider that obsolete and don't cd into a directory any longer. Signed-off-by: Jan Lindemann --- scripts/pgit.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/scripts/pgit.sh b/scripts/pgit.sh index c80c485f..e894ea81 100644 --- a/scripts/pgit.sh +++ b/scripts/pgit.sh @@ -46,15 +46,6 @@ config() run_git() { marker git "$@" - # sadly, CentOS 7 has git 1.8.3.1, which doesn't support -C - if [ "$1" = -C ]; then - ( - cd $2 - shift 2 - git "$@" - ) - return $? - fi git "$@" }