- 07 Mar, 2014 11 commits
-
-
Add a tag example
Russell Belfer committed -
Fun with memory access
Vicent Marti committed -
Plug leaks
Vicent Marti committed -
Carlos Martín Nieto committed
-
We look up a reference in order to figure out if it's the current branch, which we need to free once we're done with the check. As a bonus, only perform the check when we're passed the force flag, as it's a useless check otherwise.
Carlos Martín Nieto committed -
We can make use of git_object_dup to use refcounting instead of pointer comparison to make sure we don't free the caller's object. This also lets us simplify the case for '~0' which is now just an assignment instead of looking up the object we have at hand.
Carlos Martín Nieto committed -
Combinations of connect + fetch can call local_open multiple times. Detect this and skip the initialization stage.
Carlos Martín Nieto committed -
Previously the hunk_byfinalline_search_cmp function was called with different data types (size_t and uint32_t) for the key argument but expected only the former resulting in an invalid memory access when passed the latter on a 64 bit machine. The following patch makes sure that the function is called and works with the same type (size_t).
Jiri Pospisil committed -
Jiri Pospisil committed
-
Update clar to a0b00f0
Vicent Marti committed -
Edward Thomson committed
-
- 06 Mar, 2014 8 commits
-
-
MSVC doesn't like declaring variables in the middle of a block, so make sure we only declare variables at the beginning of a block.
Carlos Martín Nieto committed -
Revert pull request #1997
Vicent Marti committed -
Vicent Marti committed
-
Fix GIT_MERGE_OPTS_INIT on MSVC.
Vicent Marti committed -
Function-based options initializers
Vicent Marti committed -
examples/diff:Add the shortstat flag to examples/diff.c
Ben Straub committed -
Sun He committed
-
The basic structure of each function is courtesy of arrbee.
Matthew Bowen committed
-
- 05 Mar, 2014 16 commits
-
-
Add ODB API to check for existence by prefix and object id shortener
Vicent Marti committed -
Russell Belfer committed
-
refdb: catch a directory disappearing
Vicent Marti committed -
ODB writing fails gracefully when unsupported
Vicent Marti committed -
If a directory disappears between the time we look up the entries of its parent and the time when we go to look at it, we should ignore the error and move forward. This fixes #2046.
Carlos Martín Nieto committed -
If no ODB backends support writing, we should fail gracefully.
Edward Thomson committed -
Jiri Pospisil committed
-
Jiri Pospisil committed
-
Jiri Pospisil committed
-
Sun He committed
-
Sun He committed
-
examples/diff: Add minimal, patience diff options.
Vicent Marti committed -
Fixed missing error check on call to git_remote_download
Vicent Marti committed -
Fixed missing error check on call to git_remote_download in git_remote_fetch. Moved error check to statement following git_remote_disconnect so that the disconnect happens regardless of the result of the download call.
Brian Lambert committed -
- Add minimal, patience diff options to diff example. libgit2 `diff_xdiff.git_xdiff_init` already supports these flags, so no additional change is necessary. - Remove minimal and patience flag addition from project list.
Brian Gesiak committed -
This finds a short id string that will unambiguously select the given object, starting with the core.abbrev length (usually 7) and growing until it is no longer ambiguous.
Russell Belfer committed
-
- 04 Mar, 2014 5 commits
-
-
Russell Belfer committed
-
pack-objects: free memory safely
Vicent Marti committed -
A few fixes have accumulated in this area which have made the freeing of data a bit muddy. Make sure to free the data only when needed and once. When we are going to write a delta to the packfile, we need to free the data, otherwise leave it. The current version of the code mixes up the checks for po->data and po->delta_data.
Carlos Martín Nieto committed -
Remove ignored files from the working directory if they were stashed
Russell Belfer committed -
Jacques Germishuys committed
-