Files
libgit2/tests
Russell Belfer 94fb4aadc8 Add diff option to update index stat cache
When diff is scanning the working directory, if it finds a file
where it is not sure if the index entry matches the working dir,
it will recalculate the OID (which is pretty expensive).  This
adds a new flag to diff so that if the OID calculation finds that
the file actually has not changed (i.e. just the modified time was
altered or such), then it will refresh the stat cache in the index
so that future calls to diff will not have to check the oid again.
2014-05-02 09:21:33 -07:00
..
2014-05-01 12:46:46 -07:00
2014-04-02 18:50:47 +02:00
2013-11-14 14:05:52 -08:00
2014-04-14 16:16:22 +02:00
2014-04-02 18:50:47 +02:00
2014-04-11 21:55:36 +02:00
2014-04-07 21:09:09 -07:00
2014-04-17 14:43:45 -07:00
2014-04-11 22:48:42 +02:00
2014-04-25 15:49:58 +02:00
2014-03-31 15:15:32 -07:00
2013-11-14 14:05:52 -08:00
2014-04-17 15:04:42 -07:00
2013-11-14 14:05:52 -08:00
2014-04-02 18:50:47 +02:00
2014-04-02 18:50:47 +02:00
2013-11-14 14:05:52 -08:00
2014-03-28 10:39:15 -07:00
2013-11-14 14:05:52 -08:00

Writing Clar tests for libgit2

For information on the Clar testing framework and a detailed introduction please visit:

https://github.com/vmg/clar

  • Write your modules and tests. Use good, meaningful names.

  • Make sure you actually build the tests by setting:

      cmake -DBUILD_CLAR=ON build/
    
  • Test:

      ./build/libgit2_clar
    
  • Make sure everything is fine.

  • Send your pull request. That's it.