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

Allow passing of Branch objects to Repository.checkout() #408

Merged
merged 2 commits into from
Aug 26, 2014
Merged

Allow passing of Branch objects to Repository.checkout() #408

merged 2 commits into from
Aug 26, 2014

Commits on Aug 23, 2014

  1. Allow objects of type Branch to be passed to Repository.checkout()

    Branch inherits from Reference, so there's no reason why we shouldn't be
    able to pass a Branch object.
    djmattyg007 committed Aug 23, 2014
    Configuration menu
    Copy the full SHA
    629eea0 View commit details
    Browse the repository at this point in the history
  2. Add test for checking out local branches with a Branch object.

    This differs from the only other test which uses a Reference object.
    This test only succeeds because of the previous commit.
    djmattyg007 committed Aug 23, 2014
    Configuration menu
    Copy the full SHA
    14bcce0 View commit details
    Browse the repository at this point in the history