Permalink
Commits on Aug 17, 2011
  1. Properly print time offsets

    vmg committed with defunkt Aug 16, 2011
Commits on Jul 10, 2011
  1. handle newlines in author / committer

    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.
    rtomayko committed Jul 10, 2011
Commits on Jul 1, 2011
  1. Merge pull request #78 from kevinsawicki/patch-1

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

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

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

    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.
    rtomayko committed Jun 15, 2011
Commits on Jun 10, 2011
  1. Merge pull request #71 from injekt/master

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

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

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

    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 committed with rtomayko May 24, 2011
  3. hm, guess we actually need this

    schacon committed with rtomayko May 28, 2011
  4. tag creation and tests

    schacon committed with rtomayko May 27, 2011
  5. updates to grit for tag api

    schacon committed with rtomayko May 27, 2011
  6. commit listing and writing api

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

    …e via an instance var
    schacon committed with rtomayko May 26, 2011
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

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

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

    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.
    rtomayko committed May 24, 2011