- 30 Apr, 2013 11 commits
-
-
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 12 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 -
git_oid_ncmp was making some assumptions about the length of the data - this shifts the check to the top of the loop so it will work more robustly, limits the max, and adds some tests to verify the functionality.
Russell Belfer committed -
Russell Belfer committed
-
Fix push for delete-only and add travis rules to test it
Carlos Martín Nieto committed -
Create a test repository in the VM and set up git-daemon so we can use it to test the push code.
Carlos Martín Nieto committed
-
- 28 Apr, 2013 3 commits
-
-
For update and create commands where all the objects are known to exist in the remote, we must send an empty packfile. However, if all we issue are delete commands, no packfile must be sent. Take this into consideration for push.
Carlos Martín Nieto committed -
As git allows you to store shorthand refspecs in the configuration, we need to do this ourselves.
Carlos Martín Nieto committed -
Relax the ONELEVEL ref naming rules so the refspec parsing code can ask for 'master' to be considered valid.
Carlos Martín Nieto committed
-
- 26 Apr, 2013 1 commit
-
-
git_atomic_ssize for 64-bit atomics only on 64-bit platforms
Vicent Martí committed
-
- 25 Apr, 2013 1 commit
-
-
Edward Thomson committed
-
- 24 Apr, 2013 2 commits
-
-
Carlos Martín Nieto committed
-
Vicent Marti committed
-
- 23 Apr, 2013 10 commits
-
-
Support more diff config options and use the config cache more
Vicent Martí committed -
Russell Belfer committed
-
This makes diff use the cvar cache for config options where possible, and also adds support for a number of other config options to diff including "diff.context", "diff.ignoreSubmodules", "diff.noprefix", "diff.mnemonicprefix", and "core.abbrev". To make this natural, this involved a rearrangement of the code that allocates the diff object vs. the code that initializes it based on the combination of options passed in by the user and read from the config. This commit includes tests for most of these new options as well.
Russell Belfer committed -
This is a conservative change, but it seemed like the only safe thing to do -- i.e. clear the cvar cache when a config gets set.
Russell Belfer committed -
This converts many of the config lookups that are done around the library to use the repository config cache. This was everything I could find that wasn't part of diff (which requires a larger fix).
Russell Belfer committed -
This adds a bunch of additional config values to the repository config value cache and makes it easier to add a simple boolean config without creating enum values for each possible setting. Also, this fixes a bug in git_config_refresh where the config cache was not being cleared which could lead to potential incorrect values. The work to start using the new cached configs will come in the next couple of commits...
Russell Belfer committed -
When case insensitive tree iterators were added, we started reading the case sensitivity of the index to decide if the tree should be case sensitive. This is good for index-to-tree comparisons, but for tree-to-tree comparisons, we should really default to doing a case sensitive comparison unless the user really wants otherwise.
Russell Belfer committed -
Linquize committed
-
Ben Straub committed
-
Remote refspecs minor fixes
Vicent Martí committed
-