Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENT-11970: Moved masterfiles-stage checks for git in sync so that they can work properly #5577

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions contrib/masterfiles-stage/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ git_setup_local_mirrored_repo() {
# /opt/cfengine/git_mygitserver.net_joeblow_my_policy_repo.git

if [ -d "${local_mirrored_repo}" ] ; then
git --git-dir="${local_mirrored_repo}" fetch --dry-run # to provide information in logs about from and to commits
vpodzime marked this conversation as resolved.
Show resolved Hide resolved
git --git-dir="${local_mirrored_repo}" fetch && return 0

# If execution arrives here, the local_mirrored_repo exists but is messed up somehow
Expand Down
Loading