1. Jun 12, 2015
  2. Jun 11, 2015
  3. Jun 10, 2015
  4. Jun 09, 2015
    • Carlos Martín Nieto's avatar
      Initialize a few variables · 02980bdc
      Carlos Martín Nieto authored
      Coverity complains about the git_rawobj ones because we use a loop in
      which we keep remembering the old version, and we end up copying our
      object as the base, so we want to have the data pointer be NULL.
      02980bdc
    • Carlos Martín Nieto's avatar
      ssh: move NULL check to the free function · 81be2f46
      Carlos Martín Nieto authored
      Let `ssh_stream_free()` take a NULL stream, as free functions should,
      and remove the check from the connection setup.
      
      The connection setup would not need the check anyhow, as we always have
      a stream by the time we reach this code.
      81be2f46
  5. Jun 08, 2015
  6. Jun 07, 2015
  7. Jun 06, 2015
  8. Jun 04, 2015
  9. Jun 03, 2015
  10. Jun 02, 2015
    • Marius Ungureanu's avatar
      d71e3b25
    • Carlos Martín Nieto's avatar
      indexer: use lseek to extend the packfile · aa57231f
      Carlos Martín Nieto authored
      We've been using `p_ftruncate()` to extend the packfile in order to mmap
      it and write the new data into it. This works well in the general case,
      but as truncation does not allocate space in the filesystem, it must do
      so when we write data to it.
      
      The only way the OS has to indicate a failure to allocate space is via
      SIGBUS which means we tried to write outside the file. This will cause
      everyone to crash as they don't expect to handle this signal.
      
      Switch to using `p_lseek()` and `p_write()` to extend the file in a way
      which tells the filesystem to allocate the space for the missing
      data. We can then be sure that we have space to write into.
      aa57231f
  11. Jun 01, 2015
  12. May 31, 2015