Branch name info output change
This commit is contained in:
@@ -60,7 +60,7 @@ fi;
|
|||||||
# from the repository get the last path without the .git so we have the target folder
|
# from the repository get the last path without the .git so we have the target folder
|
||||||
GIT_REPOSITORY_FOLDER=$(basename "${REPOSITORY}" .git);
|
GIT_REPOSITORY_FOLDER=$(basename "${REPOSITORY}" .git);
|
||||||
|
|
||||||
echo "* New clone from ${REMOTE_HOST}:${REPOSITORY}/${BRANCH} into ${GIT_REPOSITORY_FOLDER}";
|
echo "* New clone from ${REMOTE_HOST}:${REPOSITORY}::${BRANCH} into ${GIT_REPOSITORY_FOLDER}";
|
||||||
GIT_COMMAND=("${GIT_COMMAND_BASE[@]}" "clone" "-b" "${BRANCH}" "--single-branch" "--depth" "1" "--origin" "${REMOTE_NAME}" "${REMOTE_HOST}:${REPOSITORY}" "${GIT_WEBHOOK_BASE_FOLDER}${CLONE_BASE}")
|
GIT_COMMAND=("${GIT_COMMAND_BASE[@]}" "clone" "-b" "${BRANCH}" "--single-branch" "--depth" "1" "--origin" "${REMOTE_NAME}" "${REMOTE_HOST}:${REPOSITORY}" "${GIT_WEBHOOK_BASE_FOLDER}${CLONE_BASE}")
|
||||||
echo "Command: ${GIT_COMMAND[*]}"
|
echo "Command: ${GIT_COMMAND[*]}"
|
||||||
# "${GIT_COMMAND[@]}";
|
# "${GIT_COMMAND[@]}";
|
||||||
|
|||||||
Reference in New Issue
Block a user