| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| | |
Introduce `git_email_create`; deprecate `git_diff_format_email`
|
| | |
| |
| |
| | |
`git_diff_format_email` is deprecated in favor of `git_email_create`.
|
| | |
| |
| |
| |
| | |
`git format-patch` includes diffs with rename detection enabled by
default when creating emails. Match this behavior.
|
| | |
| |
| |
| |
| | |
`git format-patch` includes binary diffs by default when creating
emails. Match this behavior.
|
| | |
| |
| |
| |
| | |
Allow a `0` patch index and `0` patch count; in this case, simply don't
display these in the email.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Introduce a function to create an email from a diff and multiple inputs
about the source of the diff.
Creating an email from a diff requires many more inputs, and should be
discouraged in favor of building directly from a commit, and is thus in
the `sys` namespace.
|
| | |
| |
| |
| |
| |
| | |
Create `git_email_*` which will encapsulate email creation and
application, and `git_email_create_from_commit` in particular, which
creates an email for a single commit.
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | | |
The configuration change will override the environment variable, so the
environment variable check needs to come first.
|
| | | |
| | |
| | | |
Signed-off-by: Mathieu Parent <math.parent@gmail.com>
|
| | | | |
|
| |\ \ \ |
|
| | | | |
| | | |
| | | | |
Co-authored-by: Edward Thomson <ethomson@github.com>
|
| | | | | |
|
| | |/ /
| | |
| | |
| | |
| | |
| | | |
the filtering code to ensure the cached longpath setting is returned.
Fixes: #6054
|
| |\ \ \
| | | |
| | | | |
Allow proxy options when connecting with a detached remote.
|
| | | | | |
|
| | | |/
| |/| |
|
| |/ / |
|
| |\ \
| | |
| | | |
Support custom git extensions
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Allow users to specify additional repository extensions that they want
to support. For example, callers can specify that they support
`preciousObjects` and then may open repositories that support
`extensions.preciousObjects`.
Similarly, callers may opt out of supporting extensions that the library
itself supports.
|
| | |/ |
|
| |/
|
|
|
| |
This tests parsing a multiline string containing multiple quoted comment
chars. See #6019
|
| |
|
|
|
|
|
|
|
|
| |
Update the proxy detection for a remote.
1. Honor `http.<url>.proxy` syntax for a remote's direct URL and
parent URLs.
2. Honor an empty configuration URL to override a proxy configuration.
Add tests to ensure that configuration specificity is honored.
|
| |
|
|
|
|
| |
Provide a utility method on a url to determine if it matches any pattern
in a comma-separated list, similar to what one would find in `NO_PROXY`
environment variables.
|
| |
|
|
|
| |
Provide a method to determine if a given URL matches a host:port pattern
like the ones found in `NO_PROXY` environment variables.
|
| | |
|
| |
|
|
|
|
|
| |
Introduce a utility function that compares a NUL terminated string to a
possibly not-NUL terminated string with length. This is similar to
`strncmp` but with an added check to ensure that the lengths match (not
just the `size` portion of the two strings).
|
| |
|
|
|
|
| |
Item 2 of 3 from #4164
Signed-off-by: Mathieu Parent <math.parent@gmail.com>
|
| |\ |
|
| | |\ |
|
| | |\ \ |
|
| | | | |
| | | |
| | | |
| | | | |
Also, add `git_commit_graph_writer_options_init`!
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This change adds the git_commit_graph_writer_* functions to allow to
write and create `commit-graph` files from `.idx`/`.pack` files or
`git_revwalk`s.
Part of: #5757
|
| |\ \ \ \
| | | | |
| | | | | |
filter: filter drivers stop taking git_buf as user input
|
| | | | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
Introduce `create_commit_cb`, deprecate `signing_cb`
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The signing callback should not be used; instead, callers should provide
a commit_create_cb, perform the signing and commit creation themselves.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Introduce a new mechanism for `git_rebase_commit` for callers to
customize the experience. Instead of assuming that we produce the
commit for them, provide a commit creation callback that allows callers
to produce the commit themselves and return the resulting commit id.
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
remote: introduce remote_ready_cb, deprecate resolve_url callback
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Using a callback to set a resolve_url is not particularly idiomatic.
Deprecate it in favor of the `set_instance_url` and
`set_instance_pushurl` functions which can now be called from the
`git_remote_ready_cb` callback.
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Introduce a new callback that fires when the remote is ready to connect.
|
| | | |/ / / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Users may want to override the URL on a particular instance of a remote,
instead of updating the configuration. Previously, users could use a
callback to do this, but this is not particularly idiomatic.
|
| |\ \ \ \ \ \
| |_|_|_|_|/
|/| | | | | |
opts: test GIT_OPT_SET_SSL_CERT_LOCATIONS
|
| | | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | | |
Include a self-signed certificate for test.libgit2.org:1443 that we can
use to verify that GIT_OPT_SET_SSL_CERT_LOCATIONS works.
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
Checkout dry-run
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
working directory
|
| |\ \ \ \ \ \ |
|
| | |\ \ \ \ \ \
| | |_|/ / / /
| |/| | | | | |
midx: Add a way to write multi-pack-index files
|
| | | |\ \ \ \ \
| | | | |_|_|/
| | | |/| | | |
|