From acefb21e83008fc52ce5555d6b05d3c8947acc05 Mon Sep 17 00:00:00 2001 From: Karl Rister Date: Thu, 5 Sep 2024 12:08:44 -0500 Subject: [PATCH] fixup --- bin/_git-fetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/_git-fetch b/bin/_git-fetch index e7749ad..5ffe1ff 100755 --- a/bin/_git-fetch +++ b/bin/_git-fetch @@ -60,7 +60,7 @@ touch "${PROCESS_LOCK_FILE}" if [ "${PROJECT_CHECKOUT_MODE}" == "follow" ]; then repo_dir=${CRUCIBLE_HOME}/subprojects/$(get_project_type_dir ${PROJECT_TYPE})/${PROJECT_NAME} - if push ${repo_dir} > /dev/null; then + if pushd ${repo_dir} > /dev/null; then if [ -d "./.git" ]; then git remote --verbose update --prune