- 01 May, 2013 14 commits
-
-
Russell Belfer committed
-
There are some cases, particularly where no loaded ODB backends support a particular operation, where we would return an error code without having set an error. This catches those cases and reports that no ODB backends support the operation in question.
Russell Belfer committed -
Russell Belfer committed
-
Russell Belfer committed
-
Russell Belfer committed
-
Russell Belfer committed
-
Russell Belfer committed
-
Russell Belfer committed
-
Russell Belfer committed
-
Russell Belfer committed
-
Russell Belfer committed
-
Russell Belfer committed
-
There were a couple of places where an error was being returned from branch related code but no error message was being set.
Russell Belfer committed -
Namespace support
Vicent Martí committed
-
- 30 Apr, 2013 18 commits
-
-
Vicent Marti committed
-
Update diff handling of "untracked" directories
Vicent Martí committed -
Russell Belfer committed
-
Russell Belfer committed
-
This includes more tests for various scenarios when diff includes an untracked directory in the workdir with contents either ignored or not.
Russell Belfer committed -
When diff encounters an untracked directory, there was a shortcut that it took which is not compatible with core git. This makes the default behavior no longer take that shortcut and instead look inside the untracked directory to see if there are any untracked files within it. If there are not, then the directory is treated as an ignore directory instead of an untracked directory. This has implications for the git_status APIs.
Russell Belfer committed -
In preparation for more changes to the internal diff logic, it seemed wise to split the very large git_diff__from_iterators into separate functions that handle the four main cases (unmatched old item, unmatched new item, unmatched new directory, and matched old and new items). Hopefully this will keep the logic easier to follow even as more cases have to be added to this code.
Russell Belfer committed -
Vicent Marti committed
-
Vicent Marti committed
-
Remove most inlines from the public API
Vicent Martí committed -
Add refspec list accessors
Vicent Martí committed -
Catch issue in config set with no config file
Vicent Martí committed -
This prevents a segfault when setting a value in the config of a repository that doesn't have a config file.
Russell Belfer committed -
Carlos Martín Nieto committed
-
Bring back a way of acessing the git_refspec* from a remote. Closes #1514
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
Removed useless prototype and renamed object typecast functions declaration macro.
Russell Belfer committed -
Russell Belfer committed
-
- 29 Apr, 2013 8 commits
-
-
This removes the GIT_INLINE versions of the simple git_object accessors and standardizes them with a helper macro in src/object.h to build the function bodies.
Russell Belfer committed -
Russell Belfer committed
-
dwim shorthand refspecs for fetch
Vicent Martí committed -
don't use uninitialized struct stat in win32
Vicent Martí committed -
Edward Thomson committed
-
cmake 2.6 parser bug workaround
Vicent Martí committed -
Edward Thomson committed
-
Add a new git_oid_strcmp that compares a string OID with a hex oid for sort order, and then reimplement git_oid_streq using it. This actually should speed up git_oid_streq because it only reads as far into the string as it needs to, whereas previously it would convert the whole string into an OID and then use git_oid_cmp.
Russell Belfer committed
-