Skip to content

Fix symbols in options Hash examples (:repository, :index) #146

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

Merged
merged 1 commit into from
Jun 4, 2014
Merged

Fix symbols in options Hash examples (:repository, :index) #146

merged 1 commit into from
Jun 4, 2014

Conversation

guyhughes
Copy link
Contributor

Fix Readme.md to use correct symbols for options Hash.

According to base.rb in v.1.2.6, the options Hash symbols are :repository instead of :git_dir, and :index instead of :index_file, as in:
https://github.com/schacon/ruby-git/blob/v1.2.6/lib/git/base.rb#L25
https://github.com/schacon/ruby-git/blob/v1.2.6/lib/git/base.rb#L72

Fix Readme.md to use correct symbol names for options Hash.

According to `base.rb` in v.1.2.6, the options Hash symbols are `:repository` instead of `:git_dir`, and `:index` instead of `:index_file`, as in:
https://github.com/schacon/ruby-git/blob/v1.2.6/lib/git/base.rb#L25
https://github.com/schacon/ruby-git/blob/v1.2.6/lib/git/base.rb#L72
@robertodecurnex
Copy link
Contributor

Thank you, Come again.

robertodecurnex added a commit that referenced this pull request Jun 4, 2014
Fix symbols in options Hash examples (:repository, :index)
@robertodecurnex robertodecurnex merged commit fae79ba into ruby-git:master Jun 4, 2014
@guyhughes
Copy link
Contributor Author

Pleasure!

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