- 10 Jun, 2013 1 commit
-
-
This is a significant reorganization of the diff code to break it into a set of more clearly distinct files and to document the new organization. Hopefully this will make the diff code easier to understand and to extend. This adds a new `git_diff_driver` object that looks of diff driver information from the attributes and the config so that things like function content in diff headers can be provided. The full driver spec is not implemented in the commit - this is focused on the reorganization of the code and putting the driver hooks in place. This also removes a few #includes from src/repository.h that were overbroad, but as a result required extra #includes in a variety of places since including src/repository.h no longer results in pulling in the whole world.
Russell Belfer committed
-
- 05 Jun, 2013 7 commits
-
-
Russell Belfer committed
-
This implements a basic callback to extract function context for a diff. It always uses the same search heuristic right now with no regular expressions or language-specific variants. Those will come next, I think.
Russell Belfer committed -
Vicent Marti committed
-
Ensure git_futils_mkdir won't mkdir root
Vicent Martí committed -
This makes sure that git_futils_mkdir always skips over the root directory at a minimum, even on platforms where the root is not simply '/'. Also, this removes the GIT_WIN32 ifdef in favor of making EACCES as a potentially recoverable error on all platforms.
Russell Belfer committed -
Allow creation of directories under the volume root in Win32
Vicent Martí committed -
We ran into an issue where cloning a repository to a folder directly underneath the root of a volume (e.g. 'd:\libgit2') would fail with an access denied error. This was traced down to a call to make a directory that is the root (e.g. 'd:') could return an error indicated access denied instead of an error indicating the path already exists. This change now handles the access denied error on Win32 and checks for the existence of the folder.
Jameson Miller committed
-
- 03 Jun, 2013 1 commit
-
-
Breaking RefDB changes
Vicent Martí committed
-
- 02 Jun, 2013 2 commits
-
-
Don't bail on parsing commits with an invalid timezone
Scott J. Goldman committed -
git doesn't do that, and it's not something that's usually actionable to fix. if you have a git repository with one bad timezone in the history, it's too late to change it most likely.
Scott J. Goldman committed
-
- 01 Jun, 2013 2 commits
-
-
Make git_index_read_tree preserve stat cache where possible
Vicent Martí committed -
Instead of just blowing away the stat cache data when loading a new tree into the index, this checks if each loaded item has a corresponding existing item with the same OID and if so, copies the stat data from the old item to the new one so it will not be blown away.
Russell Belfer committed
-
- 31 May, 2013 9 commits
-
-
Make iterators use GIT_ITEROVER & smart advance
Vicent Martí committed -
1. internal iterators now return GIT_ITEROVER when you go past the last item in the iteration. 2. git_iterator_advance will "advance" to the first item in the iteration if it is called immediately after creating the iterator, which allows a simpler idiom for basic iteration. 3. if git_iterator_advance encounters an error reading data (e.g. a missing tree or an unreadable file), it returns the error but also attempts to advance past the invalid data to prevent an infinite loop. Updated all tests and internal usage of iterators to account for these new behaviors.
Russell Belfer committed -
improve test for index extension truncation
Vicent Martí committed -
Edward Thomson committed
-
Added support for setting transport flags (No check SSL cert) to git_clo...
Vicent Martí committed -
Nathan Daly committed
-
Introduce git_reference_shorthand
Vicent Martí committed -
remote: make default tag retrieving behaviour consistent
Vicent Martí committed -
Build with the system's http-parser installation if available
Vicent Martí committed
-
- 30 May, 2013 8 commits
-
-
Vicent Marti committed
-
Veeti Paananen committed
-
yorah committed
-
Default for newly created remotes will be auto. Default when loading existing remotes with no tag retrieving behaviour set, was already auto.
yorah committed -
thread: fix segfault on Windows 64 bits
Ben Straub committed -
Vicent Marti committed
-
`lpExitCode` is a pointer to a long. A long is 32 bits wide on Windows. It means that on Windows 64bits, `GetExitCodeThread()` doesn't set/clear the high-order bytes of the 64 bits memory space pointed at by `value_ptr`.
yorah committed -
Vicent Marti committed
-
- 29 May, 2013 5 commits
-
-
allow (ignore) bare slash in gitignore
Russell Belfer committed -
Edward Thomson committed
-
Vicent Marti committed
-
Fix memory leak in oid shortener tests
Vicent Martí committed -
Russell Belfer committed
-
- 28 May, 2013 4 commits
-
-
Fix two typos in the merge docs.
Edward Thomson committed -
Arthur Schreiber committed
-
Vicent Marti committed
-
Vicent Marti committed
-
- 27 May, 2013 1 commit
-
-
Russell Belfer committed
-