| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Case insensitive checkout improvements
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
On Mac OS, `realpath` is deficient in determining the actual filename
on-disk as it will simply provide the string you gave it if that file
exists, instead of returning the filename as it exists. Instead we
must read the directory entries for the parent directory to get the
canonical filename.
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When checking out with a case-insensitive working directory, we
want to change the case of items in the working directory to
reflect changes that occured in the checkout target. Diff now
has an option to break case-changing renames into delete/add.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
This reverts commit 40d791545abfb3cb71553a27dc64129e1a9bec28.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Ensure that on a case insensitive filesystem that we can checkout
into some folder 'FOLDER' that exists on disk, even if the target
of the checkout is a different case (eg 'folder').
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
On Windows, you might sloppily rewrite a file (or have a sloppy
text editor that does it for you) and accidentally change its
case. (eg, "README" -> "readme"). Git ignores this accidental
case changing rename during checkout and will happily write the
new content to the file despite the name change. We should, too.
|
|\ \ \
| | | |
| | | | |
Performance Improvements to Status on Windows
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Using FindFirstFile and FindNextFile in win32 allows us to
use the directory information that is returned, instead of
us having to get the file attributes all over again, which
is a distinct cost savings on win32.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The _next method shouldn't take a path pointer (and a path_len
pointer) as 100% of current users use the full path and ignore
the filename.
Plus let's add some docs and a unit test.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Introduce a new `git_path_diriter` that can iterate directories
efficiently for each platform.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Changed win32/path_w32.c to utilize NTFS' FindFirst..FindNext data instead of doing an lstat per file. Avoiding unnecessary directory opens and file scans reduces IO, improving overall performance. Effect is magnified due to NTFS being a kernel mode file system (as opposed to user mode).
|
| | |/
| |/|
| | |
| | | |
Minimizing the number directory and file opens, minimizes the amount of IO thus reducing the overall cost of performing ignore operations.
|
|\ \ \
| | | |
| | | | |
Added call to git_libgit2_shutdown()
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Code restructured to better represent best practice when
using libgit2.
|
| | |/
| |/|
| | | |
Added forgotten call to git_libgit2_shutdown() to the /examples/network/git2.c.
|
|\ \ \
| | | |
| | | | |
Don't search iconv in /opt/local
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
Since OpenSSL isn't used any more on OS X, there is no dependency
on any MacPorts library under /opt/local and there is no danger of
conflicts between MacPorts and system iconv. For this reason the
system iconv can always be used now.
|
|\ \ \
| | | |
| | | | |
[WIP/RFC] push: report the update plan to the caller
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It can be useful for the caller to know which update commands will be
sent to the server before the packfile is pushed up. git does this via
the pre-push hook.
We don't have hooks, but as it adds introspection into what is
happening, we can add a callback which performs the same function.
|
|\ \ \ \
| | | | |
| | | | | |
Fix some build warnings
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
In checkout.c and filter.c we were casting a sub struct
to a parent struct which breaks the strict aliasing rules
in C. However we can use .parent or .base to access the
parent struct to avoid the build warnings.
In remote.c the local variable error was not initialized
or updated in some cases. For unintialized error a build
warning will be generated. So always keep error variable
up-to-date.
|
|\ \ \ \
| | | | |
| | | | | |
Update documentation for API changes
|
| | |_|/
| |/| | |
|
|\ \ \ \
| |/ / /
|/| | | |
Fixed unused warning in tests/rebase/merge.c
|
|/ / / |
|
|\ \ \
| |/ /
|/| | |
Do not call regfree() on an empty regex that is not successfully created...
|
|/ /
| |
| |
| |
| |
| | |
regcomp
(also removed an unused member "has_regex" from all_iter)
|
|\ \
| | |
| | | |
Fix wrong format string in git_reflog_drop() error message
|
| | | |
|
|\ \ \
| | | |
| | | | |
Validate configuration keys
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Use SecureTransport on OS X
|