| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ \ \
| | | | |
| | | | | |
Free allocated pointer to curl stream on error
|
| |/ / / |
|
|\ \ \ \
| | | | |
| | | | | |
winhttp: name mangle class / iid on mingw
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Standard Windows type systems define CLSID_InternetSecurityManager
and IID_IInternetSecurityManager, but MinGW lacks these definitions.
As a result, we must hardcode these definitions ourselves. However,
we should not use a public struct with those names, lest another
library do the same thing and consumers cannot link to both.
|
|\ \ \ \
| | | | |
| | | | | |
Export git_stash_apply_init_options
|
| |/ / / |
|
|\ \ \ \
| | | | |
| | | | | |
Fix typo
|
|/ / / / |
|
|\ \ \ \
| |/ / /
|/| | | |
Fix a typo in documentation
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Make packfile_unpack_compressed a private API
|
| |/ / |
|
|\ \ \
| |/ /
|/| | |
Fix some issues with generated pkg-config file
|
| | | |
|
|/ / |
|
|\ \
| | |
| | | |
ssh_stream_read(): fix possible *bytes_read < 0 branch
|
| | |
| | |
| | |
| | |
| | |
| | | |
Fix the possibility of returning successfully from ssh_stream_read()
with *bytes_read < 0. This would occur if stdout channel read resulted
in 0, and stderr channel read failed afterwards.
|
|\ \ \
| | | |
| | | | |
index: get rid of the locking
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We don't support using an index object from multiple threads at the same
time, so the locking doesn't have any effect when following the
rules. If not following the rules, things are going to break down
anyway.
|
|\ \ \ \
| |_|_|/
|/| | | |
Handle dotfiles as the repo template dir and inside the template dir
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Include dotfiles when copying template directory, which will handle
both a template directory itself that begins with a dotfile, and
any dotfiles inside the directory.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Ensure that we can handle template directories that begin with a
leading dot.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Ensure that `git_repository_init` honors the `init.templatedir`
configuration setting.
|
|\ \ \ \
| |/ / /
|/| | | |
Update README URLs based on HTTP redirects
|
| | | | |
|
| | | | |
|
|\ \ \ \
| |_|_|/
|/| | | |
Fix a couple function signatures
|
| | | | |
|
|\ \ \ \
| |_|_|/
|/| | | |
Fixed minor typo in README.md.
|
|/ / / |
|
|\ \ \
| |_|/
|/| | |
typos in comments
|
|/ / |
|
|\ \
| | |
| | | |
commit: Fix memory leak in test suite
|
|/ / |
|
|\ \
| | |
| | | |
Index fill: Small fixups
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Note that we're not checking whether the resize succeeds; in OOM cases,
we let it run with a "small" vector and hash table and see if by chance
we can grow it dynamically as we insert the new entries. Nothing to
lose really.
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
|/| | |
fix git_blob_create_fromchunks documentation
|
| |/
| |
| | |
putting `0.` at the start of the line turns it into a numbered list.
|
|\ \
| |/
|/| |
merge: Use `git_index__fill` to populate the index
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of calling `git_index_add` in a loop, use the new
`git_index_fill` internal API to fill the index with the initial staged
entries.
The new `fill` helper assumes that all the entries will be unique and
valid, so it can append them at the end of the entries vector and only
sort it once at the end. It performs no validation checks.
This prevents the quadratic behavior caused by having to sort the
entries list once after every insertion.
|
|\
| |
| | |
Treat GIT_PASSTHROUGH as though git_cred_acquire_cb isn't set.
|
| | |
|
|\ \
| | |
| | | |
Line count overflow in git_blame_hunk and git_blame__entry
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The `git_blame__entry` struct keeps track of line counts with
`int` fields. Since `int` is only guaranteed to be at least 16
bits we may overflow on certain platforms when line counts exceed
2^15.
Fix this by instead storing line counts in `size_t`.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It is not unreasonable to have versioned files with a line count
exceeding 2^16. Upon blaming such files we fail to correctly keep
track of the lines as `git_blame_hunk` stores them in `uint16_t`
fields.
Fix this by converting the line fields of `git_blame_hunk` to
`size_t`. Add test to verify behavior.
|
|\ \ \
| | | |
| | | | |
diff: include commit message when formatting patch
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When formatting a patch as email we do not include the commit's
message in the formatted patch output. Implement this and add a
test that verifies behavior.
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It is already possible to get a commit's summary with the
`git_commit_summary` function. It is not possible to get the
remaining part of the commit message, that is the commit
message's body.
Fix this by introducing a new function `git_commit_body`.
|