| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| | |
Stop returning a void for functions, future-proofing them to allow them
to fail.
|
| |
| |
| |
| |
| | |
Stop returning a void for functions, future-proofing them to allow them
to fail.
|
| |
| |
| |
| |
| | |
Stop returning a void for functions, future-proofing them to allow them
to fail.
|
| |
| |
| |
| |
| | |
Stop returning a void for functions, future-proofing them to allow them
to fail.
|
| |
| |
| |
| |
| | |
Stop returning a void for functions, future-proofing them to allow them
to fail.
|
|/
|
|
|
| |
Stop returning a void for functions, future-proofing them to allow them
to fail.
|
|
|
|
|
| |
Disambiguate between general network problems and HTTP problems in error
codes.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Allow users to opt-in to expect/continue handling when sending a POST
and we're authenticated with a "connection-based" authentication
mechanism like NTLM or Negotiate.
If the response is a 100, return to the caller (to allow them to post
their body). If the response is *not* a 100, buffer the response for
the caller.
HTTP expect/continue is generally safe, but some legacy servers
have not implemented it correctly. Require it to be opt-in.
|
|
|
|
| |
accessor.
|
|
|
| |
Signed-off-by: Remy Suen <remy.suen@gmail.com>
|
|\
| |
| | |
branch: clarify documentation around branches
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
As git_reference__name will reallocate storage to account for longer
names (it's actually allocator-dependent), it will cause all existing
pointers to the old object to become dangling, as they now point to
freed memory.
Fix the issue by renaming to a more descriptive name, and pass a pointer
to the actual reference that can safely be invalidated if the realloc
succeeds.
|
| | |
|
|/
|
|
| |
There is no git_stash_apply_flags_t above.
|
|\
| |
| |
| |
| | |
kastiglione/dl/fix-copypaste-in-git_cherrypick_commit-docstring
Fix copy&paste in git_cherrypick_commit docstring
|
| | |
|
|\ \
| | |
| | | |
diff: complete support for git patchid
|
| |/
| |
| |
| |
| |
| |
| | |
Git is generating patch-id using a stripped down version of a patch
where hunk header and index information are not present.
Signed-off-by: Gregory Herrero <gregory.herrero@oracle.com>
|
|\ \
| | |
| | | |
ssh: include sha256 host key hash when supported
|
| |/ |
|
|\ \
| | |
| | | |
Move `git_off_t` to `git_object_size_t`
|
| | |
| | |
| | |
| | |
| | | |
Instead of using a signed type (`off_t`) use a new `git_object_size_t`
for the sizes of objects.
|
| | |
| | |
| | |
| | |
| | | |
Instead of using a signed type (`off_t`) use a new `git_object_size_t`
for the sizes of objects.
|
| | |
| | |
| | |
| | |
| | | |
Instead of using a signed type (`off_t`) use a new `git_object_size_t`
for the sizes of objects.
|
| |/
| |
| |
| |
| | |
Introduce `git_object_size_t`, an unsigned type that we can use for the
maximum size of git objects.
|
| | |
|
| | |
|
|/
|
|
|
| |
Some libraries haven't updated to git_attr_value_t and break. Adding
the comapt typedef as suggested.
|
|
|
|
|
| |
This adds an option which will check if a diff is applicable without
actually applying it; equivalent to git apply --check.
|
| |
|
|\
| |
| | |
git_refdb API fixes
|
| | |
|
| |
| |
| |
| |
| |
| | |
Using an `enum` causes trouble when used with C++ as bitwise operations are not possible w/o casting (e.g., `opts.flags &= ~GIT_BLOB_FILTER_CHECK_FOR_BINARY;` is invalid as there is no `&=` operator for `enum`).
Signed-off-by: Sven Strickroth <email@cs-ware.de>
|
| | |
|
| | |
|
|/ |
|
|\
| |
| | |
Optionally read `.gitattributes` from HEAD
|
| |
| |
| |
| |
| |
| |
| | |
When `GIT_BLOB_FILTER_ATTTRIBUTES_FROM_HEAD` is passed to
`git_blob_filter`, read attributes from `gitattributes` files that
are checked in to the repository at the HEAD revision. This passes
the flag `GIT_FILTER_ATTRIBUTES_FROM_HEAD` to the filter functions.
|
| |
| |
| |
| |
| |
| |
| | |
When `GIT_FILTER_ATTRIBUTES_FROM_HEAD` is specified, configure the
filter to read filter attributes from `gitattributes` files that are
checked in to the repository at the HEAD revision. This passes the flag
`GIT_ATTR_CHECK_INCLUDE_HEAD` to the attribute reading functions.
|
| |
| |
| |
| |
| | |
When `GIT_ATTR_CHECK_INCLUDE_HEAD` is specified, read `gitattribute`
files that are checked into the repository at the HEAD revision.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Introduce `GIT_BLOB_FILTER_NO_SYSTEM_ATTRIBUTES`, which tells
`git_blob_filter` to ignore the system-wide attributes file, usually
`/etc/gitattributes`.
This simply passes the appropriate flag to the attribute loading code.
|
| |
| |
| |
| |
| |
| | |
Allow system-wide attributes (the ones specified in
`/etc/gitattributes`) to be ignored if the flag
`GIT_FILTER_NO_SYSTEM_ATTRIBUTES` is specified.
|
| | |
|
| |
| |
| |
| | |
Users should now use `git_blob_filter`.
|
| |
| |
| |
| |
| | |
Provide a function to filter blobs that allows for more functionality
than the existing `git_blob_filtered_content` function.
|
|\ \
| | |
| | | |
Add sign capability to git_rebase_commit
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Use ci_git_fail_with where appropriate.
Use correct initializer for callback.
|
| | |
| | |
| | |
| | | |
If provided with a null signature, skip adding the signature header and create the commit anyway.
|
| | | |
|