- 11 Nov, 2012 2 commits
-
-
nulltoken committed
-
Edward Thomson committed
-
- 09 Nov, 2012 2 commits
-
-
Fix libgit2/libgit2sharp#243
nulltoken committed -
Brian Schroeder committed
-
- 08 Nov, 2012 1 commit
-
-
nulltoken committed
-
- 06 Nov, 2012 1 commit
-
-
Philip Kelley committed
-
- 05 Nov, 2012 1 commit
-
-
Edward Thomson committed
-
- 01 Nov, 2012 6 commits
-
-
This improves docs in some of the public header files, cleans up and improves some of the example code, and fixes a couple of pedantic warnings in places.
Russell Belfer committed -
Vicent Marti committed
-
Vicent Marti committed
-
Philip Kelley committed
-
Carlos Martín Nieto committed
-
Let the user get each object as a buffer+size pair so they can handle the packfile content as they need to.
Carlos Martín Nieto committed
-
- 30 Oct, 2012 3 commits
-
-
This adds a new API that allows users to reload the config if the file has changed on disk. A new config callback function to refresh the config was added. The modified time and file size are used to test if the file needs to be reloaded (and are now stored in the disk backend object). In writing tests, just using mtime was a problem / race, so I wanted to check file size as well. To support that, I extended `git_futils_readbuffer_updated` to optionally check file size in addition to mtime, and I added a new function `git_filebuf_stats` to fetch the mtime and size for an open filebuf (so that the config could be easily refreshed after a write). Lastly, I moved some similar file checking code for attributes into filebuf. It is still only being used for attrs, but it seems potentially reusable, so I thought I'd move it over.
Russell Belfer committed -
This improves the naming for the rename related functionality moving it to be called `git_diff_find_similar()` and renaming all the associated constants, etc. to make more sense. I also moved the new code (plus the existing `git_diff_merge`) into a new file `diff_tform.c` where I can put new functions related to manipulating git diff lists. This also updates the implementation significantly from the last revision fixing some ordering issues (where break-rewrite needs to be handled prior to copy and rename detection) and improving config option handling.
Russell Belfer committed -
Edward Thomson committed
-
- 27 Oct, 2012 1 commit
-
-
nulltoken committed
-
- 26 Oct, 2012 6 commits
- 25 Oct, 2012 5 commits
-
-
This adds a `git_diff_patch_print()` API which is more like the existing API to "print" a patch from an entire `git_diff_list` but operates on a single `git_diff_patch` object. Also, it rewrites the `git_diff_patch_to_str()` API to use that function (making it very small).
Russell Belfer committed -
nulltoken committed
-
This adds an API to generate a complete single-file patch text from a git_diff_patch object.
Russell Belfer committed -
Edward Thomson committed
-
Edward Thomson committed
-
- 24 Oct, 2012 4 commits
-
-
Ben Straub committed
-
git_indexer_stats and friends -> git_transfer_progress* Also made git_transfer_progress members more sanely named.
Ben Straub committed -
Ben Straub committed
-
Ignacio Casal Quinteiro committed
-
- 23 Oct, 2012 3 commits
-
-
This implements the basis for diff rename and copy detection, although it is based on simple SHA comparison right now instead of using a matching algortihm. Just as `git_diff_merge` can be used as a post-pass on diffs to emulate certain command line behaviors, there is a new API `git_diff_detect` which will update a diff list in-place, adjusting some deltas to RENAMED or COPIED state (and also, eventually, splitting MODIFIED deltas where the change is too large into DELETED/ADDED pairs). This also adds a new test repo that will hold rename/copy/split scenarios. Right now, it just has exact-match rename and copy, but the tests are written to use tree diffs, so we should be able to add new test scenarios easily without breaking tests.
Russell Belfer committed -
Ben Straub committed
-
Added `struct git_config_entry`: a git_config_entry contains the key, the value, and the config file level from which a config element was found. Added `git_config_open_level`: build a single-level focused config object from a multi-level one. We are now storing `git_config_entry`s in the khash of the config_file
yorah committed
-
- 20 Oct, 2012 5 commits
-
-
Ben Straub committed
-
The fetch code takes advantage of this to implement a progress callback every 100kb of transfer.
Ben Straub committed -
Also implemented in the git2 example.
Ben Straub committed -
Ben Straub committed
-
git_index_read_tree() was exposing a parameter to provide the user with a progress indicator. Unfortunately, due to the recursive nature of the tree walk, the maximum number of items to process was unknown. Thus, the indicator was only counting processed entries, without providing any information how the number of remaining items.
nulltoken committed
-