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 fetching of tag objects #417

Merged
merged 1 commit into from
Dec 19, 2016
Merged

Fix fetching of tag objects #417

merged 1 commit into from
Dec 19, 2016

Conversation

talex5
Copy link
Contributor

@talex5 talex5 commented Dec 19, 2016

Before, we tried to fetch each Git target to a local Git branch. That
works for PRs, branches and plain tags, but not for tag objects. Those
can only be stored in local tags.

Now, we fetch everything to a local tag first, and then copy just the
commit to the branch.

Also, added debug-level logging for child process output. This is useful
to see why the unit-tests are failing.

Fixes #415.

Before, we tried to fetch each Git target to a local Git branch. That
works for PRs, branches and plain tags, but not for tag objects. Those
can only be stored in local tags.

Now, we fetch everything to a local tag first, and then copy just the
commit to the branch.

Also, added debug-level logging for child process output. This is useful
to see why the unit-tests are failing.

Signed-off-by: Thomas Leonard <[email protected]>
@talex5 talex5 merged commit a909028 into moby:master Dec 19, 2016
@talex5 talex5 deleted the fetch-tag-objects branch December 19, 2016 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant