- 04 Aug, 2011 4 commits
-
-
Don't assume that it's always going to work. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Carlos Martín Nieto committed -
Implement a pack indexer
Vicent Martí committed -
git_status_foreach issue
Vicent Martí committed -
signature.c: fix off-by-one error
Vicent Martí committed
-
- 03 Aug, 2011 7 commits
-
-
git_signature_new() and git_signature_now() currently don't return error codes. Change the API to return error codes and not pointers to let the user handle errors properly. Signed-off-by: schu <schu-github@schulog.org>
schu committed -
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Carlos Martín Nieto committed -
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Carlos Martín Nieto committed -
Only v2 index files are supported. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Carlos Martín Nieto committed -
Luc Bertrand committed
-
Luc Bertrand committed
-
Luc Bertrand committed
-
- 02 Aug, 2011 12 commits
-
-
Signed-off-by: schu <schu-github@schulog.org>
schu committed -
You can use it just as you'd use a for-loop Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Carlos Martín Nieto committed -
The callers immediately throw away the offset, so we don't need any logical changes in any of them. This will be useful for the indexer, as it does need to know where the compressed data ends. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
On the way, store the fd and the size in the mwindow file. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Carlos Martín Nieto committed -
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Carlos Martín Nieto committed -
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
Carlos Martín Nieto committed
-
This code is useful for more things than just the packfile handling code. Factor it out so it can be reused. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Carlos Martín Nieto committed -
Fix memory leak when wrong object type is looked up from cache
Vicent Martí committed -
Update unit test accordingly : no need to close
Lambert CLARA committed
-
- 01 Aug, 2011 2 commits
-
-
reflog: avoid users writing a wrong ancestor OID
Vicent Martí committed -
Disallow NULL as ancestor OID when writing a reflog entry for an existing reference. Signed-off-by: schu <schu-github@schulog.org>
schu committed
-
- 29 Jul, 2011 3 commits
-
-
Header fix for C++ and double include in git2.h
Vicent Martí committed -
Marcel Groothuis committed
-
Marcel Groothuis committed
-
- 28 Jul, 2011 4 commits
-
-
Don't stat so much when reading references
Vicent Martí committed -
Remove extra git_index_read from the tests
Vicent Martí committed -
Fixup network headers
Vicent Martí committed -
Including git2/status.h in the git2.h header.
Vicent Martí committed
-
- 27 Jul, 2011 1 commit
-
-
Julien Miotte committed
-
- 26 Jul, 2011 4 commits
-
-
The network headers were still missing some formalities. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Carlos Martín Nieto committed -
On some header files, GIT_END_DECL was absent while GIT_BEGIN_DECL wasn't
Vicent Martí committed -
Johan 't Hart committed
-
When you open an index with git_index_open, the file is read before the function returns. Thus, calling git_index_read after that is useless. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed
-
- 25 Jul, 2011 3 commits
-
-
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_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 -
Now index_insert() takes copy of index entry, not coping it by itself. Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Kirill A. Shutemov committed
-