- 30 May, 2013 1 commit
-
-
Vicent Marti committed
-
- 29 May, 2013 1 commit
-
-
Vicent Marti committed
-
- 28 May, 2013 2 commits
-
-
Vicent Marti committed
-
Vicent Marti committed
-
- 27 May, 2013 5 commits
-
-
Russell Belfer committed
-
packbuilder: also write index in git_packbuilder_write
Vicent Martí committed -
git_packbuilder_write() used to write a packfile to the passed file path. Instead, ask for a destination directory and create both the packfile and an index, as most users probably do expect.
Michael Schubert committed -
tests: don't verify SSH unsupported with GIT_SSH
Vicent Martí committed -
Michael Schubert committed
-
- 26 May, 2013 2 commits
-
-
Fix documentation of git_branch_delete.
Russell Belfer committed -
The reference should be freed by the user, not the library.
Daniel Rodríguez Troitiño committed
-
- 25 May, 2013 2 commits
-
-
qsort_r appeared in glibc 2.8
Vicent Martí committed -
Edward Thomson committed
-
- 24 May, 2013 16 commits
-
-
Various cleanups and tweaks
Vicent Martí committed -
This adds ~/ prefix expansion for the value of core.attributesfile and core.excludesfile, plus it fixes the fact that the attributes cache was holding on to the string data from the config for a long time (instead of making its own strdup) which could have caused a problem if the config was refreshed. Adds a test for the new expansion capability.
Russell Belfer committed -
This improves the docs for GIT_DIFF_INCLUDE_UNTRACKED_CONTENT as well as the other flags related to UNTRACKED items in diff, plus it makes that flag now automatically turn on GIT_DIFF_INCLUDE_UNTRACKED which seems like a reasonable dwim type of change.
Russell Belfer committed -
The GIT_CONFIG_LEVEL constants actually work well as an enum because they are mutually exclusive, so this adds a typedef to the enum and uses that everywhere that one of these constants are expected, instead of the old code that typically used an unsigned int.
Russell Belfer committed -
This adds docs for the cache control options to git_libgit2_opts and also tweaks the cache code so that if the cache is disabled, then the next time we attempt to insert something into the cache in question, we will actually clear any old cached objects.
Russell Belfer committed -
Apparently this makes things easier to bind in some languages.
Russell Belfer committed -
qsort_r is broken on HURD, avoid
Russell Belfer committed -
Cherry picking REUC fixes
Vicent Martí committed -
In theory, if there was a problem reading the REUC data, the read_reuc() routine could have left uninitialized and invalid data in the git_index vector. This moves the line that inserts a new entry into the vector down to the bottom of the routine so we know all the content is already valid. Also, per @linquize, this uses calloc to ensure no uninitialized data.
Russell Belfer committed -
Edward Thomson committed
-
introduce git_conflict_iterator
Vicent Martí committed -
merge setup
Vicent Martí committed -
Shallow-clone detection
Vicent Martí committed -
Even more rename detection fixes
Vicent Martí committed -
Extend checking for config with no files
Vicent Martí committed -
Ben Straub committed
-
- 23 May, 2013 10 commits
-
-
Russell Belfer committed
-
Plus a bit of extra paranoia to ensure config object has valid contents.
Russell Belfer committed -
This extends the rename tests to make sure that every rename scenario in the inner loop of git_diff_find_similar is actually exercised. Also, fixes an incorrect assert that was in one of the clauses that was not previously being exercised.
Russell Belfer committed -
Ben Straub committed
-
This moves the GIT_CVAR_ABBREV lookup out of the loop. Also, this fixes git_diff_print_raw to actually use that constant instead of hardcoding 7 characters.
Russell Belfer committed -
This adds a couple more tests of different rename scenarios. Also, this fixes a problem with the case where you have two "split" deltas and the left half of one matches the right half of the other. That case was already being handled, but in the wrong order in a way that could result in bad output. Also, if the swap also happened to put the other two halves into the correct place (i.e. two files exchanged places with each other), then the second delta was left with the SPLIT flag set when it really should be cleared.
Russell Belfer committed -
I was accidentally using a value that I had just freed. This moves the clearing of the delta internal flags into a better place.
Russell Belfer committed -
Update windows resources to match the dll name
Ben Straub committed -
Bugfix: Return NULL in push_leaf, when trie is full
Ben Straub committed -
Axel Wagner committed
-
- 22 May, 2013 1 commit
-
-
This flips rename detection around so instead of creating a forward mapping from deltas to possible rename targets, instead it creates a reverse mapping, looking at possible targets and trying to find a source that they could have been renamed or copied from. This is important because each output can only have a single source, but a given source could map to multiple outputs (in the form of COPIED records). Additionally, this makes a couple of tweaks to the public rename detection APIs, mostly renaming a couple of options that control the behavior to make more sense and to be more like core Git. I walked through the tests looking at the exact results and updated the expectations based on what I saw. The new code is different from the old because it cannot give some nonsense results (like A was renamed to both B and C) which were part of the outputs previously.
Russell Belfer committed
-