1. 04 Aug, 2011 5 commits
  2. 03 Aug, 2011 7 commits
  3. 02 Aug, 2011 12 commits
  4. 01 Aug, 2011 2 commits
  5. 29 Jul, 2011 3 commits
  6. 28 Jul, 2011 4 commits
  7. 27 Jul, 2011 1 commit
  8. 26 Jul, 2011 4 commits
  9. 25 Jul, 2011 2 commits
    • filebuf: update git_filebuf.write signature to take non-const buffer · 05a62d1a
      z_stream.next_in is non-const. Although currently Zlib doesn't modify
      buffer content on deflate(), it might be change in the future. gzwrite()
      already modify it.
      
      To avoid this let's change signature of git_filebuf.write and rework
      git_filebuf_write() accordingly.
      
      Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
      Kirill A. Shutemov committed
    • index: rework index entry initialization routine · 76159921
      index_init_entry() renamed to index_entry_init(). Now it allocates entry
      on its own.
      
      git_index_add() and git_index_append() reworked accordingly.
      
      This commit fixes warning:
      
      /home/kas/git/public/libgit2/src/index.c: In function ‘index_init_entry’:
      /home/kas/git/public/libgit2/src/index.c:452:14: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
      
      Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
      Kirill A. Shutemov committed