Skip to content

Add Worktree class and creation methods init, clone, and open#17

Merged
jcouball merged 1 commit intomainfrom
implement_init
Oct 11, 2020
Merged

Add Worktree class and creation methods init, clone, and open#17
jcouball merged 1 commit intomainfrom
implement_init

Conversation

@jcouball
Copy link
Member

@jcouball jcouball commented Oct 11, 2020

Description

Implement the main methods that create a RubyGit::Worktree object: init, clone, and open.

As a convenience, the RubyGit module implements these methods by forwarding them to Worktree.

What is changed?

  • Added convenience methods to the RubyGit module
  • Added the Worktree class with creation methods init, clone, and open
  • Added RubyGit::Error class for exceptions
  • Added RubyGit::GitBinary#to_s to make it easier to add the Git binary path to the external command to run

What else was changed and why?

Nothing.

@jcouball jcouball changed the title Add init, clone, and open methods to Worktree Add Worktree class and creation methods init, clone, and open Oct 11, 2020
@jcouball jcouball merged commit d37b4ad into main Oct 11, 2020
@jcouball jcouball deleted the implement_init branch October 12, 2020 16:21
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.

1 participant