| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
`git_rebase_init` and `git_rebase_open` should take a
`git_rebase_options` and use it for future rebase operations on
that `rebase` object.
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
git_rebase_commit should return `GIT_EUNMERGED` when unmerged items
exist in the index, per the documentation. Test that this is correct.
|
| | |/
| |/|
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \
| | |
| | | |
ignore: fix negative ignores without wildcards.
|
| | | |
|
|\ \ \
| | | |
| | | | |
Implement git_submodule_set_branch.
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Handle hide-then-push in the revwalk
|
| | |_|/
| |/| |
| | | |
| | | |
| | | | |
When we hide a commit which we later push into the revwalk, we do not
handle this well and return commits which we should not.
|
|\ \ \ \
| | | | |
| | | | | |
Add memory leak detection/reporting using MSVC CRTDBG facility.
|
| |/ / / |
|
|\ \ \ \
| | | | |
| | | | | |
Make sure to pack referenced objects for non-branches
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When there is a tag, we must make sure that we get all referenced
objects from this tag as well. This failing test shows that e.g. when
there is a tagged tree, we insert the top tree but do not descend, thus
causing the clone to have broken links.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
If work_dir is not specified, use repo_dir to test if symlink is supported
|
| | |_|/ /
| |/| | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | |_|/
| |/| | |
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
note: use a git_buf to return the default namespace
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | | |
The caller has otherwise no way to know how long the string will be
allocated or ability to free it.
This fixes #2944.
|
|\ \ \
| |_|/
|/| | |
Allow merges of files (and trees) with whitespace problems/fixes
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
clar: update to 08f434d
|
| | |/
| |/| |
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
A repository can have multiple "reserved names" now, not just
a single "short name" for the repository folder itself. Refactor
to include a git_repository__reserved_names that returns all the
reserved names for a repository.
|
|\ \ \ \
| |_|/ /
|/| | | |
Lower case the include directive of windows header
|
| | |/
| |/|
| | | |
Since the Linux platform has a case sensitive file system, the header name should be lower case for cross compiling purposes. (On Linux, the mingw header is called ```windows.h```).
|
|\ \ \
| | | |
| | | | |
Add annotated versions of ref-modying functions
|
| |/ /
| | |
| | |
| | |
| | | |
This also brings the soft-reset tests back to life. The function name
was missing an underscore, meaning they had not been running.
|
|\ \ \
| | | |
| | | | |
Don't ask for a stream's certificate unless it's encrypted
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
When we have an HTTP stream and have set the certificatre check
callback, we currently fail as we ask the unencrypted stream for its
certificate.
|
|\ \ \
| |/ /
|/| | |
Fix git_submodule_sync writing URL to wrong key.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Currently git_submodule_sync writes the submodule's URL to the
key 'branch.<REMOTE_NAME>.remote' while the reference
implementation of `git submodule sync` writes to
'remote.<REMOTE_NAME>.url', which is the intended behavior
according to git-submodule(1).
|
|/ /
| |
| |
| |
| |
| |
| | |
This was but down to 5 when GitHub made a change to their server which
made them stop honouring the include-tag request.
This has recently been corrected, so we can bring it back up to six.
|
|\ \ |
|
| |/
| |
| |
| |
| |
| | |
git_index_add_frombuffer enables now to store a memory buffer in the odb
and to store an entry in the index directly if the index is attached to a
repository.
|
|\ \
| | |
| | | |
"In-memory" repos are bare by default
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When we rename a reference, we want the old and new ids to be the same
one (as we did not change it). The normal code path looks up the old id
from the current value of the brtanch, but by the time we look it up, it
does not exist anymore and thus we write a zero id.
Pass the old id explicitly instead.
|