| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ \ \ \ \
| |_|_|/ / /
|/| | | | |
| | | | | |
| | | | | | |
jeffhostetler/jeffhostetler/memleak_windows_tls_data
Attempt to fix Windows TLS memory leak.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Rebase fixes
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
`git_rebase_init` and `git_rebase_open` should take a
`git_rebase_options` and use it for future rebase operations on
that `rebase` object.
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
In `git_rebase_operation_current()`, indicate when a rebase has not
started (with `GIT_REBASE_NO_OPERATION`) rather than conflating that
with the first operation being in-progress.
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
Handle invalid multiline configuration
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Don't assume that comment chars are comment chars, they may be (an
attempt to be escaped). If so, \; is not a valid escape sequence,
complain.
|
| | |_|_|_|/
| |/| | | |
| | | | | |
| | | | | |
| | | | | | |
Combine unquoting and multiline detection to avoid ambiguity when
parsing.
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Make sure to also update delta->nfiles when merging diffs
|
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When diffs are generated, the value for the 'nfiles' field of 'git_diff_delta'
will be consistent with the value in the 'status' field. Merging diffs can
modify the 'status' field of some deltas and the 'nfiles' field needs to be
updated accordingly.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
ignore: fix negative ignores without wildcards.
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Implement git_submodule_set_branch.
|
| | |_|_|_|/
| |/| | | | |
|
|\ \ \ \ \ \
| |_|_|_|/ /
|/| | | | | |
Diff fixes
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
In the prior implementation, enabling GIT_DIFF_UPDATE_INDEX would overwrite
entries in the index with the ones generated from scanning the working if the
OID was the same.
Because this OID comparison ignores file modes, this means an file in the
workdir with only an exec bit difference with the one in the index would end
up being overwritten, resulting in the exec bit being loss. There might be
other related bugs but the fix of comparing OIDs and file modes should
address them all.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The variable noid is guaranteed to be zero at this point of the code path.
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
revwalk: detect when we're out of interesting commits
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
When walking backwards and marking parents uninteresting, make sure we
detect when the list of commits we have left has run out of
uninteresting commits so we can stop marking commits as
uninteresting. Failing to do so can mean that we walk the whole history
marking everything uninteresting, which eats up time, CPU and IO for
with useless work.
While pre-marking does look for this, we still need to check during the
main traversal as there are setups for which pre-marking does not leave
enough information in the commits. This can happen if we push a commit
and hide its parent.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Handle hide-then-push in the revwalk
|
| | |_|_|_|/
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
When a commit is first set as unintersting and then pushed, we must take
care that we do not put it into the commit list as that makes us return
at least that commit (but maybe more) as we've inserted it into the list
because we have the assumption that we want anything in the commit list.
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
Add memory leak detection/reporting using MSVC CRTDBG facility.
|
| |/ / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Make sure to pack referenced objects for non-branches
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
When we insert e.g. a tag or tagged object into the packfile, we must
make sure to insert any referenced objects as well, or we will have
broken links.
Use the recursive version of packfile insertion to make sure we send
over not just the tagged object but also the objects it references.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Don't use the full path, as that's not what we are asserting does not
exist, but just the subpath we were looking up.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This function recursively inserts the given object and any referenced
ones. It can be thought of as a more general version of the functions to
insert a commit or tree.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
If work_dir is not specified, use repo_dir to test if symlink is supported
|
| | |_|/ / /
| |/| | | | |
|
|\ \ \ \ \ \ |
|
| | |_|/ / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | | |
GIT_UNUSED() macro generates code therefore it should be used after
variable declarations.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The regcomp function returns a non-zero value if compilation of
a regular expression fails. In most places we only check for
negative values, but positive values indicate an error, as well.
Fix this tree-wide, fixing a segmentation fault when calling
git_config_iterator_glob_new with an invalid regexp.
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When no reference names could be found we did error out when trying to describe
a commit. This is wrong, though, when the option to fall back to a commit's
object ID is set.
|
| |_|_|/
|/| | | |
|
|\ \ \ \
| | | | |
| | | | | |
Clear temporary buffer when filtering
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
If we are using a temporary buffer for filtering, be sure to clear
it before using it, in case the file that we are filtering is empty.
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Add a custom param to git_smart_subtransport_definition
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The smart transport has already take the payload param. For the
sub transport a payload param is useful for the implementer.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
WinHTTP for MinGW
|
| | | | | | | |
|
| | | | | | | |
|