- 30 Oct, 2012 2 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 -
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 2 commits
-
-
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 11 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 -
Ben Straub committed
-
Ben Straub committed
-
Ben Straub committed
-
Also converted the network example to use it.
Ben Straub committed -
Also removing all the *stats parameters from external APIs that don't need them anymore.
Ben Straub committed -
Ben Straub committed
-
- 19 Oct, 2012 3 commits
-
-
Vicent Marti committed
-
nulltoken committed
-
nulltoken committed
-
- 18 Oct, 2012 1 commit
-
-
Introduce git_remote_stop() which sets a variable that is checked by the fetch process in a few key places. If this is variable is set, the fetch is aborted.
Carlos Martín Nieto committed
-
- 15 Oct, 2012 2 commits
-
-
To answer if a single given file should be ignored, the path to that file has to be processed progressively checking that there are no intermediate ignored directories in getting to the file in question. This enables that, fixing the broken old behavior, and adds tests to exercise various ignore situations.
Russell Belfer committed -
nulltoken committed
-
- 11 Oct, 2012 1 commit
-
-
Paul Thompson committed
-
- 09 Oct, 2012 2 commits
-
-
Russell Belfer committed
-
Michael Schubert committed
-