Prefix C object names with git2r_ in src/git2r_tree.c/h
Prefix git2r C functions with git2r_modulename_

* Changed function names to have similar naming scheme as libgit2 with
  function names also prefixed with
  modulename. git2r_modulename_functionname() (e.g. git2r_repository_open())
Roxygenized with roxygen2_4.0.1
Moved git2r C functions to correct module

* The git2r C functions are prefixed with
  git2r_modulename_functionname() where git2r_modulename determines
  the name of the source/header file, e.g. git2r_repository_open() is
  in git2r_repository.c and git2r_repository.h
Fix compiler warnings
Added method to get content of a blob

* R/blob.r (content): Added generic content and method for S4 class
  git_blob to get content. Return content either as a vector of
  character strings or as one character string

* man/contents-methods.Rd: Added documentation

* src/git2r_blob.c/h (git2r_blob_content): Added C code to get rawcontent
  of a blob.

* src/git2r.c: Added "git2r_blob_content" to callMethods

* NAMESPACE: Updated
Fix failing blob content test case
Added indexing of tree objects with logical and character vector
Vignette chunk option eval=FALSE on chunks currrently failing on windows

* clone from https:// not yet implemented on windows
Update git2r.Rmd

Fixed typo. My one small contribution to an important repository :)
Merge pull request #30 from trosendal/patch-1

Update git2r.Rmd
Fix build_Makevars to not add a final backslash

* The object files are added in multiples of three. If the last line
  to add in a group of object files contains three files, no backslash
  is added to that line
Merge branch 'master' of github.com:ropensci/git2r

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
Refactoring of blob content method

* Renamed argument lines to split. Dropped argument n.

* Using strsplit instead of readLines of a textConnection to get the
  lines of the blob content.

* Raise an error if blob content is binary.
Added hash method to get the sha1 hex of a blob from a string

* R/blob.r (hash): Added method hash to determine sha1 hex of a blob
  from a string

* src/git2r_odb.c/h (git2r_odb_hash): Added C code to
  determine hash. The blob is not written to the object
  database.

* src/git2r.c: Added "git2r_odb_hash" to callMethods

* man/hash.Rd: Added documentation

* NAMESPACE: Updated

* tests/blob.R: Added test cases
Changed hash to generic with method for character signature
More argument checks in git2r_blob C functions
Added hashfile method to determine the sha1 hex of a blob from file

* R/blob.r (hashfile): Added generic hashfile and method for signature
  character to determine the sha1 hex of a blob from a file

* src/git2r_odb.c/h (git2r_odb_hashfile): Added C code to determine
  hash from file. The blob is not written to the object database.

* src/git2r.c: Added "git2r_odb_hashfile" to callMethods

* man/hashfile-methods.Rd: Added documentation

* NAMESPACE: Updated

* tests/blob.R: Added test cases
Updated hashfile example
Fix normalizePath with mustWork=TRUE before hashfile