- 05 Nov, 2012 2 commits
-
-
Justin Spahr-Summers committed
-
nulltoken committed
-
- 01 Nov, 2012 4 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
-
Philip Kelley committed
-
Philip Kelley committed
-
- 30 Oct, 2012 4 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 -
Michael Schubert 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
-
- 29 Oct, 2012 1 commit
-
-
This memset was being reached after the entire packfile under WinHttp, so the byte count was being lost for small repos.
Ben Straub committed
-
- 27 Oct, 2012 2 commits
- 26 Oct, 2012 5 commits
- 25 Oct, 2012 9 commits
-
-
Pedantic ordering of GIT_UNUSED vs. variable declarations.
Ben Straub committed -
nulltoken committed
-
nulltoken committed
-
nulltoken committed
-
nulltoken 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 3 commits
-
-
Ben Straub committed
-
git_indexer_stats and friends -> git_transfer_progress* Also made git_transfer_progress members more sanely named.
Ben Straub committed -
Michael Schubert 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 -
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 -
This can occur after a manual modification of a config file.
yorah committed
-
- 22 Oct, 2012 2 commits
- 20 Oct, 2012 5 commits
-
-
nulltoken committed
-
nulltoken committed
-
Ben Straub committed
-
Ben Straub committed
-
Ben Straub committed
-