Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #1966 from nickh/patch_content_offsets | Vicent Martí | 2013-11-19 | 1 | -4/+13 |
|\ | | | | | Add content offset to git_diff_line | ||||
| * | Add content offset to git_diff_line | Nick Hengeveld | 2013-11-18 | 1 | -4/+13 |
| | | | | | | | | | | | | For additions and deletions, external consumers like subversion can make use of the content offset to generate diffs in their proprietary formats. | ||||
* | | util: NetBSD doesn't have qsort_r either | Alessandro Ghedini | 2013-11-19 | 1 | -1/+2 |
| | | |||||
* | | Merge pull request #1968 from libgit2/ntk/fix/bad_index | Vicent Martí | 2013-11-19 | 2 | -7/+18 |
|\ \ | | | | | | | Corrupted index is bad for your health | ||||
| * | | index: Free the index on git_index_open() failure | nulltoken | 2013-11-19 | 1 | -1/+7 |
| | | | |||||
| * | | tree-cache: Fix error message typo | nulltoken | 2013-11-19 | 1 | -2/+2 |
| | | | |||||
| * | | tree-cache: Don't segfault upon corruption | nulltoken | 2013-11-19 | 1 | -3/+6 |
| | | | |||||
| * | | tree-cache: Zero out the allocated tree children array | nulltoken | 2013-11-19 | 1 | -0/+2 |
| | | | |||||
| * | | tree-cache: Free the tree upon the detection of a corrupted child | nulltoken | 2013-11-19 | 1 | -1/+1 |
| |/ | |||||
* | | Merge pull request #1967 from victorgp/cleaning-code-minor-change | Vicent Martí | 2013-11-19 | 1 | -4/+0 |
|\ \ | |/ |/| | Cleaning code, removing unused variables | ||||
| * | cleaning code, removing unused variables | Victor Garcia | 2013-11-19 | 1 | -4/+0 |
| | | |||||
* | | netops: fix leak | Carlos Martín Nieto | 2013-11-18 | 1 | -2/+5 |
| | | |||||
* | | Fix warnings | Russell Belfer | 2013-11-18 | 2 | -5/+5 |
| | | |||||
* | | Introduce git_cred_default for NTLM/SPNEGO auth | Edward Thomson | 2013-11-18 | 2 | -0/+55 |
| | | |||||
* | | Propagate auth error codes as GIT_EUSER in winhttp | Edward Thomson | 2013-11-18 | 3 | -37/+56 |
|/ | |||||
* | Merge pull request #1951 from victorgp/create-remote-plus-fetch | Vicent Martí | 2013-11-14 | 1 | -0/+30 |
|\ | | | | | Allowing create remotes with custom fetch spec | ||||
| * | splitting funcionality in two methods to avoid ambiguity with NULL | Victor Garcia | 2013-11-08 | 3 | -8/+35 |
| | | |||||
| * | allowing create remote with custom fetch spec | Victor Garcia | 2013-11-07 | 3 | -6/+9 |
| | | |||||
* | | Fix warnings | Russell Belfer | 2013-11-13 | 3 | -4/+6 |
| | | |||||
* | | Don't leak memory when duplicating a NULL signature | Ben Straub | 2013-11-12 | 2 | -5/+7 |
| | | |||||
* | | Fix buffer blame with new lines at end of file | Ben Straub | 2013-11-12 | 1 | -9/+6 |
| | | |||||
* | | Duplicate all fields of a blame hunk | Ben Straub | 2013-11-12 | 1 | -0/+5 |
| | | |||||
* | | Fix warnings | Linquize | 2013-11-12 | 3 | -3/+3 |
| | | |||||
* | | Merge pull request #1956 from libgit2/cmn/fetch-default-head | Vicent Martí | 2013-11-11 | 12 | -178/+313 |
|\ \ | | | | | | | Remote revamp (director's cut) | ||||
| * | | remote: update head list on push | Carlos Martín Nieto | 2013-11-11 | 3 | -11/+27 |
| | | | | | | | | | | | | | | | A previous commit forgot to update the head list after push as well, leading to wrong output of git_remote_ls(). | ||||
| * | | remote: let's at least pretend to have some memory safety | Carlos Martín Nieto | 2013-11-11 | 1 | -3/+27 |
| | | | | | | | | | | | | | | | | | | Copy the pointers into temporary vectors instead of assigning them tot he same array so we don't mess up with someone else's memory by accident (e.g. by sorting). | ||||
| * | | remote: fix a couple of leaks | Carlos Martín Nieto | 2013-11-11 | 2 | -7/+4 |
| | | | |||||
| * | | remote: make _ls return the list directly | Carlos Martín Nieto | 2013-11-11 | 8 | -84/+71 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The callback-based method of listing remote references dates back to the beginning of the network code's lifetime, when we didn't know any better. We need to keep the list around for update_tips() after disconnect() so let's make use of this to simply give the user a pointer to the array so they can write straightforward code instead of having to go through a callback. | ||||
| * | | remote: don't allow such direct access to the refspecs | Carlos Martín Nieto | 2013-11-10 | 2 | -24/+68 |
| | | | | | | | | | | | | | | | | | | Removing arbitrary refspecs makes things more complex to reason about. Instead, let the user set the fetch and push refspec list to whatever they want it to be. | ||||
| * | | remote: store dwimed refspecs separately | Carlos Martín Nieto | 2013-11-01 | 6 | -90/+128 |
| | | | | | | | | | | | | | | | This allows us to add e.g. "HEAD" as a refspec when none are given without overwriting the user's data. | ||||
| * | | remote: create FETCH_HEAD with a refspecless remote | Carlos Martín Nieto | 2013-11-01 | 2 | -0/+27 |
| | | | | | | | | | | | | | | | | | | When downloading the default branch due to lack of refspecs, we still need to write out FETCH_HEAD with the tip we downloaded, unfortunately with a format that doesn't match what we already have. | ||||
| * | | remote: give up after 256 failures to find a common object | Carlos Martín Nieto | 2013-11-01 | 1 | -5/+6 |
| | | | | | | | | | | | | | | | | | | | | | This avoids sending our whole history bit by bit to the remote in cases where there is no common history, just to give up in the end. The number comes from the canonical implementation. | ||||
| * | | remote: download HEAD when no refspecs are given | Carlos Martín Nieto | 2013-11-01 | 1 | -5/+6 |
| | | | | | | | | | | | | | | | | | | | | | The correct behaviour when a remote has no refspecs (e.g. a URL from the command-line) is to download the remote's HEAD. Let's do that. This fixes #1261. | ||||
* | | | config_file: style | Vicent Marti | 2013-11-10 | 1 | -18/+18 |
| | | | |||||
* | | | Merge pull request #1950 from csware/quote-config-values | Vicent Martí | 2013-11-10 | 1 | -2/+24 |
|\ \ \ | | | | | | | | | Correctly quote config values while saving | ||||
| * | | | Rename method | Sven Strickroth | 2013-11-07 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | Signed-off-by: Sven Strickroth <email@cs-ware.de> | ||||
| * | | | Correctly quote config values while saving | Sven Strickroth | 2013-11-07 | 1 | -2/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | If the value contains a command (; or #) char or starts or ends with space it needs to be quoted. Signed-off-by: Sven Strickroth <email@cs-ware.de> | ||||
* | | | | Merge pull request #1936 from libgit2/better-url-parsing | Vicent Martí | 2013-11-10 | 4 | -86/+92 |
|\ \ \ \ | | | | | | | | | | | Streamline url-parsing logic. | ||||
| * | | | | Make url decoding more bulletproofbetter-url-parsing | Ben Straub | 2013-11-05 | 1 | -12/+7 |
| | | | | | |||||
| * | | | | Remove unnecessary check | Ben Straub | 2013-11-05 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Incorporate feedback | Ben Straub | 2013-11-05 | 1 | -5/+5 |
| | | | | | |||||
| * | | | | Fix ssh.c compile | Ben Straub | 2013-11-04 | 1 | -2/+3 |
| | | | | | |||||
| * | | | | Unescape url-encoded usernames and passwords | Ben Straub | 2013-11-04 | 1 | -2/+26 |
| | | | | | |||||
| * | | | | Use http_parser_parse_url to parse urls | Ben Straub | 2013-11-04 | 4 | -89/+74 |
| | | | | | |||||
| * | | | | Clarify parsing issues and errors | Ben Straub | 2013-11-01 | 1 | -2/+3 |
| | | | | | |||||
| * | | | | Streamline url-parsing logic. | Ben Straub | 2013-11-01 | 1 | -25/+25 |
| | |/ / | |/| | | |||||
* | | | | Allow callers to set mode on packfile creation | Edward Thomson | 2013-11-07 | 3 | -4/+8 |
| | | | | |||||
* | | | | Add git_packbuilder_hash to query pack filename | Edward Thomson | 2013-11-07 | 1 | -2/+10 |
| |_|/ |/| | | |||||
* | | | don't double free pkt | Edward Thomson | 2013-11-05 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #1946 from arthurschreiber/change-branch-iterator-definition | Carlos Martín Nieto | 2013-11-05 | 1 | -2/+2 |
|\ \ \ | | | | | | | | | Change the git_branch_iterator_new definition to use git_branch_t |