1. 25 Sep, 2013 1 commit
  2. 24 Sep, 2013 17 commits
  3. 23 Sep, 2013 1 commit
    • Remove regex usage from places that don't need it · 106c12f1
      In revwalk, we are doing a very simple check to see if a string
      contains wildcard characters, so a full regular expression match
      is not needed.
      
      In remote listing, now that we have git_config_foreach_match with
      full regular expression matching, we can take advantage of that
      and eliminate the regex here, replacing it with much simpler string
      manipulation.
      Russell Belfer committed
  4. 22 Sep, 2013 3 commits
  5. 21 Sep, 2013 1 commit
  6. 20 Sep, 2013 3 commits
  7. 19 Sep, 2013 3 commits
  8. 18 Sep, 2013 4 commits
  9. 17 Sep, 2013 7 commits
    • Merge pull request #1858 from linquize/win32-template-dir · 3d4f1698
      Configurable template dir for Win32
      Vicent Martí committed
    • Merge pull request #1847 from libgit2/filters-alternative · bb371b62
      Alternative proposal for filter API
      Vicent Martí committed
    • Update clar and recreate cl_assert_equal_sz · f60ed4e6
      This updates clar to the version without cl_assert_equal_sz and
      then adds a new version of that macro the clar_libgit2.h.  The new
      version works around a strange issue that seemed to be arising on
      release builds with VS 10 64-bit builds.
      Russell Belfer committed
    • Bug fixes and cleanups · eefc32d5
      This contains a few bug fixes and some header and API cleanups.
      
      The main API change is that filters should now use GIT_PASSTHROUGH
      to indicate that they wish to skip processing a file instead of
      GIT_ENOTFOUND.
      
      The bug fixes include a possible out-of-range buffer access in
      the ident filter, a filter ordering problem I introduced into the
      custom filter tests on Windows, and a filter buf NUL termination
      issue that was coming up on Linux.
      Russell Belfer committed
    • More filtering tests including order · eab3746b
      This adds more tests of filters, including the ident filter when
      mixed with custom filters.  I was able to combine with the reverse
      filter and demonstrate that the order of filter application with
      the default priority constants matches the order of core Git.
      
      Also, this fixes two issues in the ident filter: preventing ident
      expansion on binary files and avoiding a NULL dereference when
      dollar sign characters are found without Id.
      Russell Belfer committed
    • Some tests with ident and crlf filters · 37f9e409
      Fixed the filter order to match core Git, too.
      
      This test demonstrates an interesting behavior of core Git (which
      is totally reasonable and which libgit2 matches, although mostly
      by coincidence).  If you use the ident filter and commit a file
      with a garbage ident in it, like '$Id: this is just garbage$' and
      then immediately do a 'git checkout-index' with the new file, Git
      will not consider the file out of date and will not overwrite the
      file with an updated $Id$.  Libgit2 has the same behavior.  If you
      remove the file and then do a checkout-index, it will be replaced
      with a filtered version that has injected the OID correctly.
      Russell Belfer committed
    • Add clar helper to create new commit from index · 155fa234
      There were a lot of places in the test code base that were creating
      a commit from the index on the current branch.  This just adds a
      helper to handle that case pretty easily.  There was only one test
      where this change ended up tweaking the test data, so pretty easy
      and mostly just a cleanup.
      Russell Belfer committed