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

Fix git pull error #30

Merged
merged 1 commit into from
Nov 15, 2021
Merged

Fix git pull error #30

merged 1 commit into from
Nov 15, 2021

Conversation

fboemer
Copy link
Contributor

@fboemer fboemer commented Oct 21, 2021

No description provided.

@fboemer fboemer marked this pull request as ready for review October 21, 2021 22:00
@@ -195,7 +195,7 @@ do
# quite likely to succeed. Not sure if more than 1 loop iteration will
# ever be hit in the real world.
set -x
git pull # error out if pull fails (errexit)
git pull origin "${DATA_BRANCH_NAME}" # error out if pull fails (errexit)
Copy link
Owner

@jgehrcke jgehrcke Nov 5, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey! Sorry for replying only now. Can you maybe describe in the pull request in which situation this patch is important? Would love to see the original error, too -- for the record. Thank you!

@flaix
Copy link
Contributor

flaix commented Nov 15, 2021

This patch solves a bug in case that the data branch did not exist yet, and was created at the top of the script. I'll put the details in an issue for you to link this PR with.

@jgehrcke jgehrcke merged commit 51a44f2 into jgehrcke:main Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants