Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jun 22, 2011
  1. @rtomayko
Commits on Jun 8, 2011
  1. @rtomayko
  2. @rtomayko
  3. @tmm1

    Merge branch 'posix-spawn'

    tmm1 authored
Commits on Jun 1, 2011
  1. Add Commit#patch_id.

Commits on May 30, 2011
  1. @rtomayko

    Merge pull request #60 from dkowis/fixing-spaces

    rtomayko authored
    Fix for files with leading or trailing spaces
  2. @bobbywilson0
Commits on May 8, 2011
  1. @rtomayko
  2. @rtomayko
Commits on Apr 6, 2011
  1. @dkowis

    Another fix for spaces in files

    dkowis authored
    Based on the format of ls-tree:
    <mode> SP <type> SP <object> TAB <file>
    I modified the split logic to look for only one space, or a tab
    character. Now it correctly handles files with leading spaces.
    All other tests pass
  2. @dkowis

    Fix for files with spaces, including tests

    dkowis authored
    Fix was very simple, don't strip the arguments being passed to the
    command. All tests pass.
Commits on Mar 4, 2011
  1. @tmm1
Commits on Feb 7, 2011
  1. @rtomayko
Commits on Jan 13, 2011
  1. @technoweenie
Commits on Dec 21, 2010
  1. @rtomayko
Commits on Dec 20, 2010
  1. @rtomayko
Commits on Dec 19, 2010
  1. @rtomayko
  2. @rtomayko
  3. @rtomayko
  4. @rtomayko

    refactor new exec logic into Grit::Process class

    rtomayko authored
    Pretty awesome. And the select(2) based implementation will fix a
    long-standing bug where the grit process will hang when a git
    process writes more than PIPE_BUF bytes to stderr or when the input
    written to the git process's stdin exceeds PIPE_BUF. The old popen3
    based logic writes all of stdin, then reads all of stdout, then
    reads all of stderr so everything except stdout had to come in under
    PIPE_BUF. This hasn't been much of an issue but is critical to our
    plans on using `git cat-file --batch' and writing a bunch of SHA1s
    on stdin.
    Also moving toward using a common spawn method interface that's a
    compatible subset of the Process.spawn method built into Ruby >=
    1.9.1. The hope is that most non-MRI platforms will eventually
    support Process.spawn out of the box and the ones that don't have
  5. @rtomayko
Commits on Dec 10, 2010
  1. @rtomayko
  2. @rtomayko
Commits on Dec 9, 2010
  1. @rtomayko

    avoid /bin/sh + escaping; exec git commands directly

    rtomayko authored
    This removes some overhead from all native git calls in the
    following ways:
     - Removes a fork previously performed by Open3, which double
       forks to avoid needing to Process::wait.
     - Removes the need to shell escape arguments, since the git
       process's argv is passed explicitly as an array.
     - Removes the /bin/sh process (1 fork/exec)
    Additionally, these changes allow obtaining the git process's exit
    status, available as $? after any native git command invocations.
  2. @rtomayko
  3. @rtomayko
  4. @rtomayko
  5. @technoweenie
Commits on Nov 24, 2010
  1. @rtomayko

    fix relative alternates paths

    rtomayko authored
    Relative paths in a <repo>.git/objects/info/alternates file are to
    be expanded relative to the <repo>.git/objects directory.
    Previously, they were expanded relative to the <repo>.git directory.
    The current code checks in both locations for backward compatibility
    with grit <= 2.3.0 but I'd rather rip it out completely.
Commits on Nov 23, 2010
  1. @rtomayko
Commits on Nov 6, 2010
  1. @martint
Commits on Nov 1, 2010
  1. @technoweenie
  2. @koraktor
Commits on Oct 28, 2010
  1. @technoweenie

    Merge branch 'perf'

    technoweenie authored
  2. @technoweenie
Something went wrong with that request. Please try again.