| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
During checkout, assume that the .gitattributes files aren't
modified during the checkout. Instead, create an "attribute session"
during checkout. Assume that attribute data read in the same
checkout "session" hasn't been modified since the checkout started.
(But allow subsequent checkouts to invalidate the cache.)
Further, cache nonexistent git_attr_file data even when .gitattributes
files are not found to prevent re-scanning for nonexistent files.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
jeffhostetler/jeffhostetler/bug/branch_create_after_namespace
Remove stale reflog namespace directory before branch creation
|
| |/ / /
| | | |
| | | |
| | | | |
branch
|
|\ \ \ \
| | | | |
| | | | | |
Ensure we can make a repo at the root of the filesystem
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Don't try to strip trailing paths from the root directory on
Windows (trying to create `C:` will fail).
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
`p_stat` calls `git_win32_path_from_utf8`, which canonicalizes the
path. Do not further try to modify the path, else we trim the
trailing slash from a root directory and try to access `C:` instead
of `C:/`.
|
| |_|_|/
|/| | | |
|
|/ / /
| | |
| | |
| | |
| | | |
This is a path so we must use the path getter so we get the tilde
expansion done.
|
|\ \ \
| | | |
| | | | |
Handle 8dot3 filenames being disabled on Win32
|
| | | | |
|
| |/ / |
|
| | | |
|
|/ / |
|
|\ \
| | |
| | | |
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.
|
|\ \ \
| | | |
| | | | |
More coverity fixes
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
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'
^
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|/ / |
|
|\ \
| | |
| | | |
Remove logically dead code (we're already asserting)
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
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>
|
| |
| |
| |
| |
| | |
When we're called with no hunk or line callback, we don't need to
do the hunk or line computation.
|
|/
|
|
| |
Avoid str length recalculation every iteration
|
|\ |
|
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | |
| | | |
Fix crash in free() when git_buf_grow() fails.
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
Load prune configuration when a remote is created.
|
| | | | |
|
| | | | |
|