Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | netops: error out on url without a pathcmn/http-url-path | Carlos Martín Nieto | 2014-07-03 | 1 | -0/+18 |
| | | | | | | In order to connect to a remote server, we need to provide a path to the repository we're interested in. Consider the lack of path in the url an error. | ||||
* | test: remove assembla clone testcmn/clone-auth-change | Carlos Martín Nieto | 2014-06-13 | 1 | -6/+0 |
| | | | | | | | The assembla failure we were seeing referred to a private repository, which is not what is there at the moment. This reverts 1fd21b0342f | ||||
* | test: use read-only account | Carlos Martín Nieto | 2014-06-13 | 1 | -3/+3 |
| | | | | | | Don't write in plaintext the password of an account which has full control over the repository. Instead use an account with read-only access. | ||||
* | Merge pull request #2407 from libgit2/cmn/remote-rename-morev0.21.0-rc1 | Vicent Marti | 2014-06-08 | 3 | -39/+106 |
|\ | | | | | More remote rename fixes | ||||
| * | remote: don't free the remote on deletecmn/remote-rename-more | Carlos Martín Nieto | 2014-06-06 | 1 | -1/+1 |
| | | | | | | | | This was a bad idea. Don't free except in the free function. | ||||
| * | remote: failing test for renaming with a symref | Carlos Martín Nieto | 2014-06-06 | 1 | -0/+48 |
| | | |||||
| * | remote: return problem refspecs instead of using a callback | Carlos Martín Nieto | 2014-06-06 | 2 | -38/+57 |
| | | | | | | | | | | | | There is no reason why we need to use a callback here. A string array fits better with the usage, as this is not an event and we don't need anything from the user. | ||||
* | | Win32: Fix object::cache::threadmania test on x64 | Philip Kelley | 2014-06-07 | 3 | -5/+5 |
| | | |||||
* | | Win32: Fix diff::workdir::submodules test #2361 | Philip Kelley | 2014-06-07 | 1 | -2/+2 |
| | | |||||
* | | Win32: Fix failing clone_mirror test | Philip Kelley | 2014-06-07 | 1 | -0/+3 |
|/ | |||||
* | remote: failing test for rename | Carlos Martín Nieto | 2014-06-06 | 1 | -0/+30 |
| | | | | | When there is a reference in the target namespace, we should overwrite it. Instead it gets a different name under the current code. | ||||
* | Merge pull request #2395 from libgit2/cmn/ref-iter-concurrent | Russell Belfer | 2014-06-03 | 1 | -0/+33 |
|\ | | | | | Concurrent ref iterator access | ||||
| * | refs: failing test for concurrent ref access | Carlos Martín Nieto | 2014-06-02 | 1 | -0/+33 |
| | | | | | | | | | | If we remove a reference while we're iterating through the packed refs, the position in the iterator will be off. | ||||
* | | Merge pull request #2389 from ↵ | Vicent Marti | 2014-06-03 | 1 | -0/+9 |
|\ \ | | | | | | | | | | | | | arthurschreiber/arthur/set-error-when-no-remote-found Remote: Set an error when a remote cannot be found. | ||||
| * | | Remote: Set an error when a remote cannot be found. | Arthur Schreiber | 2014-05-30 | 1 | -0/+9 |
| | | | | | | | | | | | | | | | | | | | | | Inside `git_remote_load`, the calls to `get_optional_config` use `giterr_clear` to unset any errors that are set due to missing config keys. If neither a fetch nor a push url config was found for a remote, we should set an error again. | ||||
* | | | Plug a leak in the tests | Carlos Martín Nieto | 2014-06-03 | 1 | -0/+2 |
| |/ |/| | |||||
* | | Ignore core.safecrlf=warn until we have a warn infrastructure | Edward Thomson | 2014-05-30 | 1 | -0/+41 |
|/ | |||||
* | Refs: Extend unicode test for branch creation. | Arthur Schreiber | 2014-05-30 | 1 | -0/+3 |
| | | | | | | This adds another assertion to ensure that the reference name inside the git_reference struct returned by `git_branch_create` is returned as precomposed if `core.precomposeunicode` is enabled. | ||||
* | Refs: Add a unicode test for git_branch_move. | Arthur Schreiber | 2014-05-30 | 1 | -0/+17 |
| | | | | | This tests that decomposed branch names are correctly precomposed when passed to `git_branch_move` and `core.precomposeunicode` is enabled. | ||||
* | Merge pull request #2011 from libgit2/cmn/clone-local | Vicent Marti | 2014-05-29 | 2 | -0/+131 |
|\ | | | | | Local clone | ||||
| * | clone: more explicit local testscmn/clone-local | Carlos Martín Nieto | 2014-05-29 | 1 | -14/+29 |
| | | | | | | | | | | Assert the exact amount of links we expect. While there, check that a plain git_clone() automatically chooses to link. | ||||
| * | clone: allow for linking in local clone | Carlos Martín Nieto | 2014-05-28 | 1 | -0/+59 |
| | | | | | | | | | | | | | | | | If requested, git_clone_local_into() will try to link the object files instead of copying them. This only works on non-Windows (since it doesn't have this) when both are on the same filesystem (which are unix semantics). | ||||
| * | fileops: allow linking files when copying directory structures | Carlos Martín Nieto | 2014-05-28 | 1 | -0/+26 |
| | | | | | | | | | | When passed the LINK_FILES flag, the recursive copy will hardlink files instead of copying them. | ||||
| * | clone: add flag not to link | Carlos Martín Nieto | 2014-05-28 | 1 | -0/+2 |
| | | |||||
| * | clone: add flags to override whether to perform a local clone | Carlos Martín Nieto | 2014-05-28 | 1 | -0/+29 |
| | | |||||
* | | Merge pull request #2380 from libgit2/cmn/index-add-modes | Vicent Marti | 2014-05-28 | 1 | -0/+15 |
|\ \ | | | | | | | index: check for valid filemodes on add | ||||
| * | | index: check for valid filemodes on addcmn/index-add-modes | Carlos Martín Nieto | 2014-05-22 | 1 | -0/+15 |
| |/ | |||||
* | | Merge pull request #2385 from karipe/development | Vicent Marti | 2014-05-28 | 2 | -3/+3 |
|\ \ | | | | | | | Fix compile error on Visual Studio | ||||
| * | | Fix compile error on Visual Studio | Cha, Hojeong | 2014-05-27 | 2 | -3/+3 |
| |/ | |||||
* | | Modify GIT_MERGE_CONFIG -> GIT_MERGE_PREFERENCE | Edward Thomson | 2014-05-27 | 1 | -18/+18 |
| | | |||||
* | | Move GIT_MERGE_CONFIG_* to its own enum | Edward Thomson | 2014-05-27 | 1 | -31/+38 |
| | | |||||
* | | Introduce GIT_MERGE_CONFIG_* for merge.ff settings | Edward Thomson | 2014-05-27 | 1 | -0/+26 |
|/ | | | | | | git_merge_analysis will now return GIT_MERGE_CONFIG_NO_FASTFORWARD when merge.ff=false and GIT_MERGE_CONFIG_FASTFORWARD_ONLY when merge.ff=true | ||||
* | Merge pull request #2376 from libgit2/cmn/remote-symref | Vicent Marti | 2014-05-22 | 2 | -0/+68 |
|\ | | | | | Add support for the symref extension | ||||
| * | remote: add api to guess the remote's default branch | Carlos Martín Nieto | 2014-05-21 | 1 | -0/+50 |
| | | | | | | | | | | If the remote supports the symref protocol extension, then we return that, otherwise we guess with git's rules. | ||||
| * | remote: expose the remote's symref mappings | Carlos Martín Nieto | 2014-05-21 | 1 | -0/+18 |
| | | | | | | | | | | Add a symref_target field to git_remote_head to expose the symref mappings to the user. | ||||
* | | Merge pull request #2375 from libgit2/rb/safecrlf-on-lf-platform | Vicent Marti | 2014-05-22 | 2 | -3/+21 |
|\ \ | |/ |/| | Make core.safecrlf not generate an error on LF-ending platforms | ||||
| * | Make core.safecrlf work on LF-ending platforms | Russell Belfer | 2014-05-19 | 2 | -3/+21 |
| | | | | | | | | | | | | If you enabled core.safecrlf on an LF-ending platform, we would error even for files with all LFs. We should only be warning on irreversible mappings, I think. | ||||
* | | Fix a leak in the tests | Carlos Martín Nieto | 2014-05-20 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #2354 from libgit2/cmn/clone-into-mirror | Vicent Marti | 2014-05-19 | 2 | -0/+59 |
|\ | | | | | Allow mirror-clone via `git_clone_into()` | ||||
| * | clone: add failing test for a mirror-clone with clone_into | Carlos Martín Nieto | 2014-05-19 | 2 | -0/+59 |
| | | | | | | | | | | Show a failure to perform a mirror-clone from a repository, both local and remote. | ||||
* | | message: don't assume the comment charcmn/comment-char | Carlos Martín Nieto | 2014-05-18 | 2 | -8/+8 |
| | | | | | | | | | | The comment char is configurable and we need to provide a way for the user to specify which comment char they chose for their message. | ||||
* | | Fix a bug in the pack::packbuilder suite | Philip Kelley | 2014-05-17 | 1 | -0/+2 |
| | | |||||
* | | Merge pull request #2362 from libgit2/rb/update-4k-to-8k | Vicent Marti | 2014-05-17 | 1 | -0/+114 |
|\ \ | | | | | | | Test and fix Git diff binary detection compatibility | ||||
| * | | Git binary check compat testsrb/update-4k-to-8k | Russell Belfer | 2014-05-16 | 1 | -0/+114 |
| | | | | | | | | | | | | | | | A variety of data patterns for diffs verified to match the behavior of binary detection with Git on the command line. | ||||
* | | | Merge pull request #2313 from libgit2/cmn/remote-delete | Vicent Marti | 2014-05-16 | 3 | -0/+93 |
|\ \ \ | |/ / |/| | | Remote deletion | ||||
| * | | remote: remove remote-tracking branches on delete | Carlos Martín Nieto | 2014-05-16 | 1 | -4/+8 |
| | | | | | | | | | | | | | | | When we delete a remote, we also need to go through its fetch refspecs and remove the references they create locally. | ||||
| * | | remote: Introduce git_remote_delete() | nulltoken | 2014-04-30 | 1 | -0/+57 |
| | | | |||||
| * | | tests: Introduce count_config_entries_match() helper | nulltoken | 2014-04-30 | 2 | -0/+32 |
| | | | |||||
* | | | Better search path sandboxingrb/restore-search-paths | Russell Belfer | 2014-05-15 | 8 | -66/+54 |
| |/ |/| | | | | | | | | | | | There are a number of tests that modify the global or system search paths during the tests. This adds a helper function to make it easier to restore those paths and makes sure that they are getting restored in a manner that preserves test isolation. | ||||
* | | Merge pull request #2328 from libgit2/rb/how-broken-can-ignores-be | Vicent Marti | 2014-05-13 | 2 | -1/+108 |
|\ \ | | | | | | | Improve checks for ignore containment |