| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| | |
win32: limit the mode to `_wopen`/`_waccess`
|
|/
|
|
|
|
|
|
| |
Win32 generally ignores Unix-like mode bits that don't make any
sense on the platform (eg `0644` makes no sense to Windows). But
WINE complains loudly when presented with POSIXy bits. Remove them.
(Thanks @phkelley)
|
|\
| |
| | |
Reinit `reader` pointer after reading included config file
|
| |
| |
| |
| |
| |
| | |
Fixes #2869. If included file includes more files, it may reallocate
cfg_file->readers, hence invalidate not only `r` pointer, but `result`
pointer as well.
|
| |
| |
| |
| |
| |
| | |
It fails at least on my computer, though it may depend on some unpredictable
factors (say, will realloc() extend the memory segment in place, or it will
allocate new memory).
|
|\ \
| | |
| | | |
Fix build warning on Android
|
| | |
| | |
| | |
| | |
| | |
| | | |
Always do a time_t cast on st_mtime. st_mtime on Android is not
the type of time_t but has the same meaning which is the number
of seconds past epoch.
|
|\ \ \
| | | |
| | | | |
Check rebase options version on public entry points
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Checkout performance
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The .gitattributes cache should not reload .gitattributes in the
middle of checking out, only between checkout operations. Otherwise,
we'll spend all our time stat'ing and read'ing the gitattributes.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
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:/`.
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Test to ensure that we can create a repository at the filesystem
root. Introduces a new test environment variable,
`GITTEST_INVASIVE_FILESYSTEM` for tests that do terrible things like
escaping the clar sandbox and writing to the root directory. It is
expected that the CI builds will enable this but that normal people
would not want this.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Add libssh2's library and include directories.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Follow-up to 4f91bfa ("Find libssh2 via pkg-config"): FindPkgConfig sets
<foo>_INCLUDE_DIRS, not <foo>_INCLUDE_DIR like FindLIBSSH2 did.
Additionally, if using only FindPkgConfig to find libssh2, we have to
call LINK_DIRECTORIES() as well to pass the appropriate -L entries,
otherwise the build will only work if libssh2.so is in a directory
searched automatically by the linker.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Large merge perf test.
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Update some third-party copyrights
|
| | | | | | | | | |
|
| | |_|_|_|_|_|/
| |/| | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Fix doc comment formatting
|
| | | | | | | | | |
|
| |/ / / / / / / |
|
|/ / / / / / / |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Speed up AppVeyor builds.
|
|/ / / / / / /
| | | | | | |
| | | | | | | |
AppVeyor build machines come with Python 2.7 and CMake 2.8 pre-installed and in the PATH.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
repository: parse init.templatedir as a path
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This is a path so we must use the path getter so we get the tilde
expansion done.
|
|\ \ \ \ \ \ \
| |_|_|/ / / /
|/| | | | | | |
Update clar to d17c7f6
|
|/ / / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Handle 8dot3 filenames being disabled on Win32
|
| | | | | | | |
|
| | | | | | | |
|
| | |_|_|/ /
| |/| | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
for-each-ref example: initialize libgit2 in main
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
I don't get how it was working without git_libgit2_init() call. I run it
and libgit2 throws assertion somewhere in its internals. Now it works.
Updated commit with shutdown at the end.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Fixes for pedantry
|
| | | | | | | | |
|