1. 24 Jun, 2015 2 commits
  2. 23 Jun, 2015 4 commits
  3. 22 Jun, 2015 23 commits
  4. 21 Jun, 2015 1 commit
  5. 20 Jun, 2015 9 commits
  6. 19 Jun, 2015 1 commit
    • index: use the checksum to check whether it's been modified · 5e947c91
      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.
      Carlos Martín Nieto committed