| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
The clock_gettime() function is normally not available under
AmigaOS, hence another solution is required. We are using now
GetUpTime() that is present in current versions of this
operating system.
|
| |
|
|\
| |
| | |
Case changing rename
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
On a case-insensitive filesystem, we need to deal with case-changing
renames (eg, foo -> FOO) by removing the old and adding the new,
exactly as if we were on a case-sensitive filesystem.
Update the `checkout::tree::can_cancel_checkout_from_notify` test, now
that notifications are always sent case sensitively.
|
| | |
|
|\ \
| | |
| | | |
don't treat 0x85 as whitespace
|
| | |
| | |
| | |
| | |
| | |
| | | |
A byte value of 0x85 is not whitespace, we were conflating that with
U+0085 (UTF8: 0xc2 0x85). This caused us to incorrectly treat valid
multibyte characters like U+88C5 (UTF8: 0xe8 0xa3 0x85) as whitespace.
|
|\ \ \
| |/ /
|/| | |
global: include sys/openssl.h for GIT_EXPORT of fn
|
|/ /
| |
| |
| |
| |
| | |
The openssl setup function needs to be GIT_EXPORT'ed, be sure
to include the `sys/openssl.h` header so that it is appropriately
decorated as an export function.
|
|\ \
| |/
|/| |
index: reuc and name entrycounts should be size_t
|
|/
|
|
|
|
| |
For the REUC and NAME entries, we use size_t internally, and we take
size_t for the get_byindex() functions, but the entrycount() functions
strangely cast to an unsigned int instead.
|
|\
| |
| | |
cmake: include FindPkgConfig for windows
|
|/
|
|
|
| |
Apparently FindPkgConfig is not included by default on VS builds,
only Unix and Unix-like (mingw) builds.
|
|\
| |
| | |
Find libssh2 via pkg-config
|
| |
| |
| |
| |
| |
| | |
We don't really need our own module to find libssh2. Using pkg-config
lets the standard tool do the work for us and let us fit more naturally
in the workflow as we respect the pkg-config search paths.
|
|\ \
| | |
| | | |
Make OpenSSL locking warnings more severe
|
| | |
| | |
| | |
| | | |
It seems these were forgotten when initially splitting this up.
|
| | |
| | |
| | |
| | |
| | | |
Our git_openssl_set_locking() would ideally not exist. Make it clearer
that we provide it as a last resort and you should prefer anything else.
|
|\ \ \
| | | |
| | | | |
Mention the init function in the README
|
| |/ /
| | |
| | |
| | | |
This fixes #2731.
|
|\ \ \
| | | |
| | | | |
Show progress output on fetch for the local transport
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Pretend we have a git process at the other end by creating a similar
progress output when inserting objects into the packbuilder.
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
We do not currently generate any messages when we're counting the
objects, as might be expected from a local upload-pack. Assert that we
do call the function when working.
|
|\ \ \
| | | |
| | | | |
More Windows Path checking
|
| | | | |
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Fix public header on sys/refs.h
|
|/ / /
| | |
| | |
| | |
| | | |
GIT_BEGIN/END_DECL were missing from sys/refs.h and preventing
compilation with g++ as the symbol were mangled.
|
| | |
| | |
| | |
| | |
| | | |
We need to know what wchar_t and MAX_PATH are. Including common.h takes
care of that for us.
|
|\ \ \ |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
We need these directories to exist so cl_git_mkfile() can create the
files we ask it to.
|
|\ \ \ \
| |/ / /
| | / /
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Path validation may be influenced by `core.protectHFS` and
`core.protectNTFS` configuration settings, thus treebuilders
can take a repository to influence their configuration.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Validate HFS ignored char ".git" paths when `core.protectHFS` is
specified. Validate NTFS invalid ".git" paths when `core.protectNTFS`
is specified.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
HFS filesystems ignore some characters like U+200C. When these
characters are included in a path, they will be ignored for the
purposes of comparison with other paths. Thus, if you have a ".git"
folder, a folder of ".git<U+200C>" will also match. Protect our
".git" folder by ensuring that ".git<U+200C>" and friends do not match it.
|
| | |
| | |
| | |
| | | |
Validate loose reference names on Win32.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Disallow:
1. paths with trailing dot
2. paths with trailing space
3. paths with trailing colon
4. paths that are 8.3 short names of .git folders ("GIT~1")
5. paths that are reserved path names (COM1, LPT1, etc).
6. paths with reserved DOS characters (colons, asterisks, etc)
These paths would (without \\?\ syntax) be elided to other paths - for
example, ".git." would be written as ".git". As a result, writing these
paths literally (using \\?\ syntax) makes them hard to operate with from
the shell, Windows Explorer or other tools. Disallow these.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When turning UTF-8 paths into UCS-2 paths for Windows, always use
the \\?\-prefixed paths. Because this bypasses the system's
path canonicalization, handle the canonicalization functions ourselves.
We must:
1. always use a backslash as a directory separator
2. only use a single backslash between directories
3. not rely on the system to translate "." and ".." in paths
4. remove trailing backslashes, except at the drive root (C:\)
|
| | | |
|
|/ / |
|
|\ \
| | |
| | | |
Fold `git_push_unpack_ok()` into `git_push_finish()`
|
| | |
| | |
| | |
| | | |
This should make it clearer what the return value implies.
|
|/ /
| |
| |
| |
| | |
The push cannot be successful if we sent a bad packfile. We should
return an error in that case instead of storing it elsewhere.
|
|\ \
| | |
| | | |
Introduce stackable IO streams
|
| | | |
|