Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Minor cleanupblame-fixes | Ben Straub | 2013-11-12 | 1 | -3/+2 |
| | |||||
* | 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 | 2 | -11/+9 |
| | |||||
* | Duplicate all fields of a blame hunk | Ben Straub | 2013-11-12 | 1 | -0/+5 |
| | |||||
* | Add some failing blame test cases | Ben Straub | 2013-11-12 | 1 | -0/+36 |
| | |||||
* | Merge pull request #1957 from linquize/warning3 | Vicent Martí | 2013-11-12 | 4 | -4/+4 |
|\ | | | | | Fix warnings | ||||
| * | Fix warnings | Linquize | 2013-11-12 | 4 | -4/+4 |
|/ | |||||
* | Merge pull request #1956 from libgit2/cmn/fetch-default-head | Vicent Martí | 2013-11-11 | 20 | -287/+433 |
|\ | | | | | 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(). | ||||
| * | tests: update push tests | Carlos Martín Nieto | 2013-11-11 | 3 | -19/+23 |
| | | | | | | | | These tests were forgotten when modifying 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 | 16 | -163/+140 |
| | | | | | | | | | | | | | | | | | | | | | | 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 | 3 | -34/+95 |
| | | | | | | | | | | | | 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 | 2 | -6/+7 |
| | | | | | | | | | | | | | | 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. | ||||
* | | Merge pull request #1955 from linquize/trivial.c-warning | Vicent Martí | 2013-11-10 | 1 | -1/+1 |
|\ \ | | | | | | | Fix warning in tests-clar/merge/workdir/trivial.c | ||||
| * | | Fix warning in tests-clar/merge/workdir/trivial.c | Linquize | 2013-11-11 | 1 | -1/+1 |
|/ / | |||||
* | | 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 | 2 | -2/+55 |
|\ \ | | | | | | | 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> | ||||
| * | | Add another testcase to make sure double quotes are correctly escaped | Sven Strickroth | 2013-11-07 | 1 | -0/+4 |
| | | | | | | | | | | | | Signed-off-by: Sven Strickroth <email@cs-ware.de> | ||||
| * | | Add a testcase for values which needs quotes | Sven Strickroth | 2013-11-07 | 1 | -0/+27 |
| | | | | | | | | | | | | 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 | 6 | -104/+135 |
|\ \ \ | | | | | | | | | Streamline url-parsing logic. | ||||
| * | | | Make url decoding more bulletproofbetter-url-parsing | Ben Straub | 2013-11-05 | 2 | -14/+9 |
| | | | | |||||
| * | | | 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 |
| | | | | |||||
| * | | | Compile HTTP parser on win32 (for url parsing) | Ben Straub | 2013-11-04 | 1 | -0/+2 |
| | | | | |||||
| * | | | Unescape url-encoded usernames and passwords | Ben Straub | 2013-11-04 | 2 | -4/+40 |
| | | | | |||||
| * | | | Use http_parser_parse_url to parse urls | Ben Straub | 2013-11-04 | 5 | -116/+102 |
| | | | | |||||
| * | | | Clarify parsing issues and errors | Ben Straub | 2013-11-01 | 1 | -2/+3 |
| | | | | |||||
| * | | | Streamline url-parsing logic. | Ben Straub | 2013-11-01 | 2 | -25/+35 |
| | |/ | |/| | |||||
* | | | Merge pull request #1953 from ethomson/packfile_example | Vicent Martí | 2013-11-07 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | update example to new packfile creation signature | ||||
| * | | | update example to new packfile creation signature | Edward Thomson | 2013-11-07 | 1 | -1/+1 |
|/ / / | |||||
* | | | Merge pull request #1952 from ethomson/packfile_mode | Vicent Martí | 2013-11-07 | 7 | -10/+62 |
|\ \ \ | | | | | | | | | Allow callers to set mode on packfile creation | ||||
| * | | | Allow callers to set mode on packfile creation | Edward Thomson | 2013-11-07 | 7 | -10/+62 |
|/ / / | |||||
* | | | Merge pull request #1949 from ethomson/packbuilder_oid | Vicent Martí | 2013-11-07 | 3 | -2/+32 |
|\ \ \ | | | | | | | | | Add git_packbuilder_hash to query pack filename | ||||
| * | | | Add git_packbuilder_hash to query pack filename | Edward Thomson | 2013-11-07 | 3 | -2/+32 |
|/ / / | |||||
* | | | Merge pull request #1947 from ethomson/double_free_pkt | Vicent Martí | 2013-11-05 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | don't double free pkt | ||||
| * | | | don't double free pkt | Edward Thomson | 2013-11-05 | 1 | -1/+1 |
|/ / / | |||||
* | | | cmake: Add `USE_SSH` option | Vicent Marti | 2013-11-05 | 1 | -1/+3 |
| | | | |||||
* | | | Merge pull request #1946 from arthurschreiber/change-branch-iterator-definition | Carlos Martín Nieto | 2013-11-05 | 4 | -7/+7 |
|\ \ \ | | | | | | | | | Change the git_branch_iterator_new definition to use git_branch_t | ||||
| * | | | Change the git_branch_iterator_new and git_branch_next definitions to use ↵ | Arthur Schreiber | 2013-11-05 | 4 | -7/+7 |
| | | | | | | | | | | | | | | | | git_branch_t. | ||||
* | | | | Blame: change signature to be more binding-friendly | Ben Straub | 2013-11-05 | 2 | -2/+2 |
|/ / / | |||||
* | | | Fix MSVC 64-bit warnings | Ben Straub | 2013-11-05 | 2 | -10/+10 |
| | | | |||||
* | | | Merge pull request #1944 from libgit2/ntk/fix/config_search_paths_leaks | Vicent Martí | 2013-11-05 | 4 | -1/+16 |
|\ \ \ | | | | | | | | | Plug configuration file search paths tests leaks |