libgit2/include
Carlos Martín Nieto 5e947c91d4 index: use the checksum to check whether it's been modified
We currently use a timetamp to check whether an index file has been
modified since we last read it, but this is racy. If two updates happen
in the same second and we read after the first one, we won't detect the
second one.

Instead read the SHA-1 checksum of the file, which are its last 20 bytes which
gives us a sure-fire way to detect whether the file has changed since we
last read it.

As we're now keeping track of it, expose an accessor to this data.
2015-06-19 22:05:08 +02:00
..
git2 index: use the checksum to check whether it's been modified 2015-06-19 22:05:08 +02:00
git2.h Include git2/transaction.h 2015-05-31 19:22:12 +02:00