Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Merge pull request #1803 from libgit2/ntk/topic/even_more_lenient_remote_parsing | Vicent Martí | 2013-08-28 | 1 | -11/+35 | |
|\ | | | | | Even more lenient remote parsing | |||||
| * | remote: Make git_remote_list() detect pushurl | nulltoken | 2013-08-27 | 1 | -2/+4 | |
| | | ||||||
| * | remote: Relax the parsing logic even more | nulltoken | 2013-08-27 | 1 | -8/+25 | |
| | | | | | | | | | | | | In order to be loaded, a remote needs to be configured with at least a `url` or a `pushurl`. ENOTFOUND will be returned when trying to git_remote_load() a remote with neither of these entries defined. | |||||
| * | remote: Don't parse missing urls as empty strings | nulltoken | 2013-08-27 | 1 | -1/+1 | |
| | | ||||||
| * | remote: Warn the user when connecting with no url | nulltoken | 2013-08-27 | 1 | -1/+4 | |
| | | ||||||
| * | remote: Assert proper GIT_DIRECTION_XXXX values | nulltoken | 2013-08-27 | 1 | -0/+2 | |
| | | ||||||
* | | Merge pull request #1772 from libgit2/config-iter | Vicent Martí | 2013-08-28 | 1 | -1/+1 | |
|\ \ | |/ |/| | Configuration iterators redux | |||||
| * | config: get_multivar -> get_multivar_foreach | Carlos Martín Nieto | 2013-08-08 | 1 | -1/+1 | |
| | | | | | | | | | | The plain function will return an iterator, so move this one out of the way. | |||||
* | | Merge pull request #1780 from phkelley/development | Vicent Martí | 2013-08-14 | 1 | -2/+27 | |
|\ \ | | | | | | | Respect GIT_SSL_NO_VERIFY and http.sslVerify | |||||
| * | | Respect GIT_SSL_NO_VERIFY and http.sslVerify | Philip Kelley | 2013-08-13 | 1 | -2/+27 | |
| |/ | ||||||
* | | remote: relax the url rules | Carlos Martín Nieto | 2013-08-14 | 1 | -6/+0 | |
|/ | | | | | | | | | | | | | Accept any value for the remote's url, including an empty string which we used to reject as invalid configuration. This is not quite what git does (although it has its own problems with such configurations) and it makes it harder to fix the issue, by not letting the user modify it. As we already need to check for a valid URL when we try to connect to the network, let that perform the check, as we don't need to do it anywhere else. | |||||
* | Add `git_remote_owner` | Etienne Samson | 2013-07-15 | 1 | -0/+6 | |
| | ||||||
* | Fix some memory leaks | Russell Belfer | 2013-06-10 | 1 | -1/+3 | |
| | ||||||
* | Merge pull request #1624 from libgit2/vmg/full-ref-iterator | Vicent Martí | 2013-06-03 | 1 | -39/+13 | |
|\ | | | | | Breaking RefDB changes | |||||
| * | ...Aaaand this works | Vicent Marti | 2013-05-30 | 1 | -4/+1 | |
| | | ||||||
| * | Liike this | Vicent Marti | 2013-05-28 | 1 | -36/+13 | |
| | | ||||||
* | | Proposal to handle default value (auto = 0) | yorah | 2013-05-30 | 1 | -6/+1 | |
| | | ||||||
* | | remote: make default tag retrieving behaviour consistent | yorah | 2013-05-30 | 1 | -6/+5 | |
|/ | | | | | Default for newly created remotes will be auto. Default when loading existing remotes with no tag retrieving behaviour set, was already auto. | |||||
* | Fetch should not fail when remote HEAD reference is not present locally | Jameson Miller | 2013-05-15 | 1 | -13/+0 | |
| | ||||||
* | Merge pull request #1385 from carlosmn/refs-iter | Edward Thomson | 2013-05-11 | 1 | -14/+19 | |
|\ | | | | | Introduce a refs iterator | |||||
| * | Move a couple more functions to use iterators | Carlos Martín Nieto | 2013-05-11 | 1 | -13/+19 | |
| | | ||||||
| * | refs: remove the OID/SYMBOLIC filtering | Carlos Martín Nieto | 2013-05-11 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | | | | Nobody should ever be using anything other than ALL at this level, so remove the option altogether. As part of this, git_reference_foreach_glob is now implemented in the frontend using an iterator. Backends will later regain the ability of doing the glob filtering in the backend. | |||||
* | | Merge pull request #1561 from arrbee/fix-windows-diff-eofnl | Vicent Martí | 2013-05-09 | 1 | -1/+1 | |
|\ \ | | | | | | | Fix windows diff eofnl error | |||||
| * | | Fix win32 type warnings | Russell Belfer | 2013-05-07 | 1 | -1/+1 | |
| | | | ||||||
* | | | remote: correctly interpret tagopt '--tags' | Carlos Martín Nieto | 2013-05-07 | 1 | -10/+18 | |
|/ / | | | | | | | | | | | | | When tagopt is set to '--tags', we should only take the default tags refspec into account and ignore any configured ones. Bring the code into compliance. | |||||
* | | Factor out some code that needed to clear errors | Russell Belfer | 2013-05-01 | 1 | -43/+42 | |
|/ | | | | | | | A number of places were looking up option config values and then not clearing the error codes if the values were not found. This moves the repeated pattern into a shared routine and adds the extra call to giterr_clear() when needed. | |||||
* | Merge pull request #1518 from arrbee/export-oid-comparison | Vicent Martí | 2013-04-30 | 1 | -1/+1 | |
|\ | | | | | Remove most inlines from the public API | |||||
| * | Make git_oid_cmp public and add git_oid__cmp | Russell Belfer | 2013-04-29 | 1 | -1/+1 | |
| | | ||||||
* | | remote: fix a leak when dwim'ing refspecs | Carlos Martín Nieto | 2013-04-30 | 1 | -0/+1 | |
| | | ||||||
* | | remote: add resfpec list accessors | Carlos Martín Nieto | 2013-04-30 | 1 | -0/+26 | |
| | | | | | | | | | | | | Bring back a way of acessing the git_refspec* from a remote. Closes #1514 | |||||
* | | remote: dwim the refspecs according to the remote's advertised refs | Carlos Martín Nieto | 2013-04-28 | 1 | -9/+85 | |
|/ | | | | | As git allows you to store shorthand refspecs in the configuration, we need to do this ourselves. | |||||
* | refspec: unify the string and parsed data | Carlos Martín Nieto | 2013-04-20 | 1 | -45/+19 | |
| | | | | | | | | It used to be separate as an attempt to make the querying easier, but it didn't work out that way, so put all the data together. Add git_refspec_string() as well to get the original string, which is now stored alongside the independent parts. | |||||
* | remote: allow querying for refspecs | Carlos Martín Nieto | 2013-04-20 | 1 | -2/+50 | |
| | | | | | | | | Introduce git_remote_{fetch,push}_refspecs() to get a list of refspecs from the remote and rename the refspec-adding functions to a less silly name. Use this instead of the vector index hacks in the tests. | |||||
* | remote: handle multiple refspecs | Carlos Martín Nieto | 2013-04-20 | 1 | -149/+236 | |
| | | | | | | | | | | | | | A remote can have a multitude of refspecs. Up to now our git_remote's have supported a single one for each fetch and push out of simplicity to get something working. Let the remotes and internal code know about multiple remotes and get the tests passing with them. Instead of setting a refspec, the external users can clear all and add refspecs. This should be enough for most uses, though we're still missing a querying function. | |||||
* | remote: don't try to update FETCH_HEAD if no extra heads exist | Carlos Martín Nieto | 2013-04-16 | 1 | -0/+4 | |
| | | | | | | | | Don't try to update anything if there are no heads to update. This saves us from trying to look into a fetch refspec when there is none. A better fix for compatibility with git when using remotes without refspecs is still needed, but this stops us from segfaulting. | |||||
* | Allow git_remote_ls after disconnecting from the remote | Carlos Martín Nieto | 2013-04-15 | 1 | -5/+0 | |
| | | | | Keep the data around until free, as expected by our own fetch example | |||||
* | branch: rename 'tracking' to 'upstream' | Carlos Martín Nieto | 2013-03-30 | 1 | -1/+1 | |
| | | | | | The term 'tracking' is overloaded. Help distinguish what we mean by using 'upstream' for this part of the library. | |||||
* | Several warnings detected by static code analyzer fixed | Arkadiy Shapkin | 2013-03-18 | 1 | -1/+1 | |
| | | | | | | | Implicit type conversion argument of function to size_t type Suspicious sequence of types castings: size_t -> int -> size_t Consider reviewing the expression of the 'A = B == C' kind. The expression is calculated as following: 'A = (B == C)' Unsigned type is never < 0 | |||||
* | immutable references and a pluggable ref database | Edward Thomson | 2013-03-07 | 1 | -2/+4 | |
| | ||||||
* | remote: Introduce git_remote_is_valid_name() | nulltoken | 2013-02-11 | 1 | -14/+22 | |
| | | | | Fix libgit2/libgit2sharp#318 | |||||
* | Vector improvements and their fallout | Philip Kelley | 2013-01-27 | 1 | -2/+1 | |
| | ||||||
* | clone: Prevent segfault upon faulted remote creation | nulltoken | 2013-01-25 | 1 | -3/+6 | |
| | ||||||
* | Kill vestigal dangling-remote code | Ben Straub | 2013-01-11 | 1 | -13/+0 | |
| | | | Fixes #1232 | |||||
* | update copyrights | Edward Thomson | 2013-01-08 | 1 | -1/+1 | |
| | ||||||
* | Remove `inmem` flag, use NULL name instead | Ben Straub | 2013-01-02 | 1 | -4/+3 | |
| | ||||||
* | Move `url` to last place in parameter list | Ben Straub | 2013-01-02 | 1 | -1/+1 | |
| | ||||||
* | Fix GCC static/non-static compile error | Ben Straub | 2012-12-27 | 1 | -23/+22 | |
| | ||||||
* | remote: Prevent create() from blindly overwriting | nulltoken | 2012-12-24 | 1 | -5/+5 | |
| | ||||||
* | Fix indentations | nulltoken | 2012-12-24 | 1 | -8/+8 | |
| | ||||||
* | In-memory remotes don't have names | Ben Straub | 2012-12-21 | 1 | -2/+7 | |
| |