Skip to content

Fix two bugs in fetch, add tests - #429

Merged
rubyist merged 2 commits into
masterfrom
fetchbug
Jun 23, 2015
Merged

rubyist merged 2 commits into
masterfrom
fetchbug

Conversation

@rubyist

@rubyist rubyist commented Jun 20, 2015

Copy link
Copy Markdown
Contributor

This PR fixes two 🐛 🪲 in the fetch command.

  1. When fetching the not current branch, the queue would not process, nothing would download.
  2. When fetching the current branch, the main routine would not wait for the goroutine that copies files into the wd and updates the git index, possibly leaving the wd in an inconsistent state.

Integration tests for fetch are included.

@technoweenie

Copy link
Copy Markdown
Contributor

👍 This should also go into the release-0.5 branch too.

This was referenced Jun 23, 2015
rubyist added a commit that referenced this pull request Jun 23, 2015
Fix two bugs in fetch, add tests
@rubyist
rubyist merged commit a0e23b4 into master Jun 23, 2015
@rubyist
rubyist deleted the fetchbug branch June 23, 2015 20:44
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.

2 participants