Permalink
Commits on Jul 10, 2011
  1. handle newlines in author / committer

    rtomayko committed Jul 10, 2011
    This shouldn't technically be allowed but we've seen a few cases of
    it in existing repositories on github.com so let's just deal with
    it.
Commits on Jul 1, 2011
  1. Merge pull request #78 from kevinsawicki/patch-1

    tmm1 committed Jul 1, 2011
    Fix typo in tree method doc
Commits on Jun 22, 2011
  1. Grit::Git check_applies / patch related methods take command hash

    rtomayko committed Jun 22, 2011
    This lets us pass an :env so we can use GIT_ALTERNATE_OBJECT_DIRECTORIES
    to check if a commit applies across repositories.
  2. tags api now resty

    schacon authored and rtomayko committed Jun 16, 2011
Commits on Jun 15, 2011
  1. ruby rev_list passes --verify to native rev_parse in fallback

    rtomayko committed Jun 15, 2011
    Otherwise, the git-rev-parse will return whatever is given as an arg
    when the ref doesn't exist. e.g.,
    
      $ git rev-parse some-bad-ref
      some-bad-ref
      fatal: ambiguous argument 'some-bad-ref': unknown revision or path not in the working tree.
    
    The error message is on stderr and git-rev-parse exits with non-zero
    but the ref name is still output.
    
    The problem here is that code often calls rev_list like:
    
        git.rev_list({}, "some-bad-ref")
    
    Then rev_list tries to convert some-bad-ref to a SHA1, gets back the
    ref string, but continues on anyway. This eventually results in the
    rev_list failing to look up the object because it assumes its a SHA1
    when its really a ref string.
Commits on Jun 10, 2011
  1. Merge pull request #71 from injekt/master

    rtomayko committed Jun 10, 2011
    Fix warnings on 1.9
  2. Merge pull request #72 from cesario/master

    rtomayko committed Jun 10, 2011
    Fix the gemspec
Commits on Jun 9, 2011
  1. remove commented out lazy_reader

    Lee Jarvis
    Lee Jarvis committed Jun 9, 2011
  2. fix warnings on Ruby 1.9

    Lee Jarvis
    Lee Jarvis committed Jun 9, 2011
Commits on Jun 8, 2011
  1. Merge branch 'posix-spawn'

    tmm1 committed Jun 8, 2011
  2. tree reading and writing

    schacon authored and rtomayko committed May 24, 2011
  3. hm, guess we actually need this

    schacon authored and rtomayko committed May 28, 2011
  4. reference updating and deleting working

    schacon authored and rtomayko committed May 28, 2011
  5. tag creation and tests

    schacon authored and rtomayko committed May 27, 2011
  6. updates to grit for tag api

    schacon authored and rtomayko committed May 27, 2011
  7. commit listing and writing api

    schacon authored and rtomayko committed May 26, 2011
  8. write_tree can take a sha for a tree and can return the last tree siz…

    schacon authored and rtomayko committed May 26, 2011
    …e via an instance var
Commits on Jun 1, 2011
  1. Add Commit#patch_id.

    mojombo committed Jun 1, 2011
Commits on May 30, 2011
  1. Merge pull request #60 from dkowis/fixing-spaces

    rtomayko committed May 30, 2011
    Fix for files with leading or trailing spaces
  2. Merge pull request #68 from bobbyw/master

    rtomayko committed May 30, 2011
    Default parameter for with_timeout incorrect
Commits on May 24, 2011
  1. handle packs disappearing between dir list and open

    rtomayko committed May 24, 2011
    What happens is that we get a list of packfiles from Dir.open but
    the files can disappear before the File.open on the .idx or .pack
    file due to git-repack running at the same time. When this occurs,
    with_idx or with_pack would blow up with a NoMethodError because it
    tries to close the file in an ensure block, but the file was never
    opened.
    
    This change causes the with_idx and with_pack methods to detect this
    situation and not yield to the block. This ought to result in
    correct behavior (the pack isn't really there) in most
    circumstances.
Commits on May 8, 2011