summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | | rebase: provide NULL `exec` on non-EXEC operationsEdward Thomson2015-02-131-0/+1
| |/ |/| | | | | | | Users may want to try to pay attention to the `exec` field on all rebase operations.
* | Merge pull request #2883 from urkud/reget-reader-pointerCarlos Martín Nieto2015-02-131-0/+22
|\ \ | |/ |/| Reinit `reader` pointer after reading included config file
| * Add test for include.path inside included configYury G. Kudryashov2015-02-131-0/+22
| | | | | | | | | | | | 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).
* | Merge pull request #2866 from ethomson/checkout_perf2Carlos Martín Nieto2015-02-128-4/+61
|\ \ | | | | | | Checkout performance
| * | remove some unused warningsEdward Thomson2015-02-041-0/+4
| | |
| * | tests: update for new test dataEdward Thomson2015-02-023-4/+5
| | |
| * | checkout test: ensure .gitattributes lifecycleEdward Thomson2015-02-025-0/+52
| | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #2862 from ↵Carlos Martín Nieto2015-02-121-0/+104
|\ \ \ | | | | | | | | | | | | | | | | jeffhostetler/jeffhostetler/bug/branch_create_after_namespace Remove stale reflog namespace directory before branch creation
| * | | Fix branch creation when branch name matches namespace of previously deleted ↵Jeff Hostetler2015-02-031-0/+104
| | | | | | | | | | | | | | | | branch
* | | | Merge pull request #2880 from ethomson/mkdir_rootCarlos Martín Nieto2015-02-122-0/+43
|\ \ \ \ | | | | | | | | | | Ensure we can make a repo at the root of the filesystem
| * | | | stat: don't remove trailing '/' from root on win32Edward Thomson2015-02-051-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `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:/`.
| * | | | repo: ensure we can create repo at filesystem rootEdward Thomson2015-02-051-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Merge pull request #2889 from jeffhostetler/jeffhostetler/merge_performanceCarlos Martín Nieto2015-02-125-0/+226
|\ \ \ \ \ | |_|_|_|/ |/| | | | Large merge perf test.
| * | | | Large merge perf test.Jeff Hostetler2015-02-065-0/+226
| | | | |
* | | | | Update clar to d17c7f6Edward Thomson2015-02-051-0/+5
| |/ / / |/| | |
* | | | Merge pull request #2867 from ethomson/8dot3Edward Thomson2015-02-054-0/+32
|\ \ \ \ | | | | | | | | | | Handle 8dot3 filenames being disabled on Win32
| * | | | win32: further cleanups for 8.3 disablingEdward Thomson2015-02-034-9/+30
| | | | |
| * | | | win32: cleanup 8.3 disabled testsEdward Thomson2015-02-032-39/+14
| | | | |
| * | | | Fix test failures when 8.3 is disabledLinquize2015-01-312-4/+40
| | |_|/ | |/| |
* | | | structinit test: use %PRIuZ instead of %d for size_tEdward Thomson2015-02-041-1/+1
| |_|/ |/| |
* | | Merge pull request #2832 from ethomson/appveyor_badgeEdward Thomson2015-01-301-6/+36
|\ \ \ | |/ / |/| | 64-bit Appveyor Builds
| * | structinit test: only run on DEBUG buildsEdward Thomson2015-01-211-1/+16
| | | | | | | | | | | | | | | | | | | | | The structinit tests don't make sense unless structure padding is uniformly initialized, which is unlikely to happen on release builds. Only enable them for DEBUG builds. Further, rename them to core::structinit.
| * | structinit test: show which byte differsEdward Thomson2015-01-211-5/+20
| | |
* | | Merge pull request #2819 from libgit2/cmn/config-get-pathEdward Thomson2015-01-261-0/+46
|\ \ \ | |/ / |/| | config: add parsing and getter for paths
| * | config: add parsing and getter for pathscmn/config-get-pathCarlos Martín Nieto2015-01-141-0/+46
| | |
* | | checkout tests: cleanup realpath impl on Win32Edward Thomson2015-01-201-36/+6
| | |
* | | checkout tests: emulate p_realpath poorly on Win32Edward Thomson2015-01-201-1/+64
| | |
* | | checkout: remove files before writing new onesEdward Thomson2015-01-202-2/+99
| | | | | | | | | | | | | | | | | | | | | 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.
* | | checkout tests: nasty symlinksEdward Thomson2015-01-2018-3/+50
| | | | | | | | | | | | Symbolic links that abuse case insensitivity to write into .git.
* | | git_path_join_unrooted: return base lenEdward Thomson2015-01-201-0/+47
| | | | | | | | | | | | | | | | | | | | | 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: introduce git_checkout_perfdataEdward Thomson2015-01-201-0/+29
| | | | | | | | | | | | | | | Checkout can now provide performance data about the number of (some) syscalls performed using an optional callback.
* | | Add files and tests with many UTF-8 chars and few UTF-8 charsLinquize2015-01-209-1/+31
| | |
* | | Make binary detection work similar to vanilla gitSven Strickroth2015-01-201-1/+1
|/ / | | | | | | | | | | Main change: Don't treat chars > 128 as non-printable (common in UTF-8 files) Signed-off-by: Sven Strickroth <email@cs-ware.de>
* | Merge branch 'pr/2740'Edward Thomson2015-01-143-19/+41
|\ \ | |/ |/|
| * Added GIT_HASHSIG_ALLOW_SMALL_FILES to allow computing signatures for small ↵Pierre-Olivier Latour2015-01-143-19/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge commit '4b1018d24f980273528743c27c47ceb96cb720bd'Carlos Martín Nieto2015-01-091-0/+31
|\ \ | | | | | | | | | Fix crash in free() when git_buf_grow() fails.
| * | Fix crash in free() when git_buf_grow() fails.Jeff Hostetler2015-01-091-0/+31
| | |
* | | Fix warningCarlos Martín Nieto2015-01-091-1/+1
| | |
* | | Merge pull request #2810 from ethomson/remove_symlinksCarlos Martín Nieto2015-01-092-10/+40
|\ \ \ | | | | | | | | Remove symlinks from the repository
| * | | repo::init test: create hook symlinkEdward Thomson2015-01-082-10/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the hook symlink from the test resources, so that we can have a source tree that is easy to zip up and copy around on systems that don't support symlinks. Create it dynamically at test execution instead.
* | | | submodule::init tests: free some leaksEdward Thomson2015-01-081-1/+5
| | | |
* | | | Merge pull request #2802 from calavera/remote_create_prune_configEdward Thomson2015-01-081-0/+44
|\ \ \ \ | |/ / / |/| | | Load prune configuration when a remote is created.
| * | | Fix more indentation.David Calavera2015-01-071-1/+1
| | | |
| * | | Fix intentation.David Calavera2015-01-051-1/+1
| | | |
| * | | Load prune configuration when a remote is created.David Calavera2015-01-051-0/+44
| | | |
* | | | Add extern function to initialize submodule update options.David Calavera2015-01-071-0/+5
| | | |
* | | | Merge commit 'refs/pull/2632/head' of github.com:libgit2/libgit2Carlos Martín Nieto2015-01-0520-6/+531
|\ \ \ \ | |/ / / |/| | |
| * | | Introduce a convenience function for submodule updatejamill/submodule_updateJameson Miller2014-12-224-6/+424
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This introduces the functionality of submodule update in 'git_submodule_do_update'. The existing 'git_submodule_update' function is renamed to 'git_submodule_update_strategy'. The 'git_submodule_update' function now refers to functionality similar to `git submodule update`, while `git_submodule_update_strategy` is used to get the configured value of submodule.<name>.update.
| * | | submodule init should resolve relative url pathsJameson Miller2014-12-2217-0/+107
| | |/ | |/| | | | | | | | | | Submodule init should handle relative paths in .gitmodules files and resolve these urls when updating the git config file.
* | | Plug a couple of leaksCarlos Martín Nieto2015-01-042-1/+1
| |/ |/|