| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
config: add parsing and getter for paths
|
| | |_|_|/
| |/| | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Allow passing a NULL index to git_repository_set_index()
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
This is supported by the underlying set_index() implementation
and setting the repository index to NULL is recommended by the
git_repository_set_bare() documentation.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fixed typo in git_repository_reinit_filesystem() documentation
|
| |/ / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
More coverity fixes
|
| | | | | | |
|
| | | | | | |
|
| | |_|_|/
| |/| | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Make sure sys/repository.h includes the required headers
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | | |
It was missing "common.h" and "types.h" like other system headers.
This generated compilation errors if including it directly.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fixed git_repository_set_bare() not setting "core.bare" correctly
|
| |/ / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
openssl: Add all required includes for AF_INET6 and in6_addr.
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This fixes the build at least on FreeBSD, where those types were not
defined indirectly:
src/openssl_stream.c:100:18: error: variable has incomplete type 'struct in6_addr'
struct in6_addr addr6;
^
src/openssl_stream.c:100:9: note: forward declaration of 'struct in6_addr'
struct in6_addr addr6;
^
src/openssl_stream.c:111:18: error: use of undeclared identifier 'AF_INET'
if (p_inet_pton(AF_INET, host, &addr4)) {
^
src/unix/posix.h:31:40: note: expanded from macro 'p_inet_pton'
^
src/openssl_stream.c:115:18: error: use of undeclared identifier 'AF_INET6'
if(p_inet_pton(AF_INET6, host, &addr6)) {
^
src/unix/posix.h:31:40: note: expanded from macro 'p_inet_pton'
^
|
|\ \ \ \ \
| | | | | |
| | | | | | |
describe example: fix memory allocation size
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
We need to allocate memory for sizeof(char *) * ncommits, not just for
ncommits.
Issue detected by GCC's AddressSanitizer.
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
pathspec: do not try to dereference NULL
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
pathspec_match_free() should not dereference a NULL passed to it.
I found this issue when I tried to run example log program with
nonexistent branch:
./example/log help
Such call leads to segmentation fault.
|
|\ \ \ \
| |/ / /
|/| | | |
checkout: free last created directory
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Remove logically dead code (we're already asserting)
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
README: Point to libgit2 account's AppVeyor badge
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Microsoft is sponsoring a Pro account at AppVeyor for the libgit2
and LibGit2Sharp projects. Point to that account's badge.
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
On case insensitive filesystems, we may have files in the working
directory that case fold to a name we want to write. Remove those
files (by default) so that we will not end up with a filename that
has the unexpected case.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Symbolic links that abuse case insensitivity to write into .git.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Don't bother trying to recreate the previously created directory
during checkout, for a modest reduction in the number of stats.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Walk up the tree to mkdir, which is less immediately efficient,
but allows us to look at intermediate directories that may need
attention.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The documentation for `git_path_join_unrooted` states that the base
length will be returned, so that consumers like checkout know where
to start creating directories instead of always creating directories
at the directory root.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Checkout can now provide performance data about the number of (some)
syscalls performed using an optional callback.
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
|
| | | | | |
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Main change: Don't treat chars > 128 as non-printable (common in UTF-8 files)
Signed-off-by: Sven Strickroth <email@cs-ware.de>
|
|\ \ \ \
| |/ / /
|/| | | |
diff: only compute patches when requested
|
|/ / /
| | |
| | |
| | |
| | | |
When we're called with no hunk or line callback, we don't need to
do the hunk or line computation.
|
|\ \ \
| |/ /
|/| | |
Remove strlen() calls from loop condition
|
|/ /
| |
| |
| | |
Avoid str length recalculation every iteration
|
| | |
|
|\ \
| | |
| | | |
Add option to turn off OpenSSL
|
| | | |
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
git_merge_tree_flag_t cannot contain any GIT_DIFF_FIND_xxx flags so there's not point in checking for them
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
files
The implementation of the hashsig API disallows computing a signature on
small files containing only a few lines. This new flag disables this
behavior.
git_diff_find_similar() sets this flag by default which means that rename
/ copy detection of small files will now work. This in turn affects the
behavior of the git_status and git_blame APIs which will now detect rename
of small files assuming the right options are passed.
|