Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | revwalk: detect when we're out of interesting commitscmn/odd-slowdown | Carlos Martín Nieto | 2015-04-14 | 1 | -2/+22 |
| | | | | | | | | | | | | | | When walking backwards and marking parents uninteresting, make sure we detect when the list of commits we have left has run out of uninteresting commits so we can stop marking commits as uninteresting. Failing to do so can mean that we walk the whole history marking everything uninteresting, which eats up time, CPU and IO for with useless work. While pre-marking does look for this, we still need to check during the main traversal as there are setups for which pre-marking does not leave enough information in the commits. This can happen if we push a commit and hide its parent. | ||||
* | Merge pull request #2974 from libgit2/cmn/clone-everything | Edward Thomson | 2015-04-10 | 5 | -3/+97 |
|\ | | | | | Make sure to pack referenced objects for non-branches | ||||
| * | local: recusrively insert non-branch objects into the packfilecmn/clone-everything | Carlos Martín Nieto | 2015-03-17 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | When we insert e.g. a tag or tagged object into the packfile, we must make sure to insert any referenced objects as well, or we will have broken links. Use the recursive version of packfile insertion to make sure we send over not just the tagged object but also the objects it references. | ||||
| * | tree: add more correct error messages for not found | Carlos Martín Nieto | 2015-03-17 | 1 | -2/+2 |
| | | | | | | | | | | Don't use the full path, as that's not what we are asserting does not exist, but just the subpath we were looking up. | ||||
| * | packbuilder: introduce git_packbuilder_insert_recur() | Carlos Martín Nieto | 2015-03-17 | 2 | -0/+48 |
| | | | | | | | | | | | | This function recursively inserts the given object and any referenced ones. It can be thought of as a more general version of the functions to insert a commit or tree. | ||||
| * | clone: add failing test for local transport with a tag | Carlos Martín Nieto | 2015-03-17 | 1 | -0/+45 |
| | | | | | | | | | | | | | | When there is a tag, we must make sure that we get all referenced objects from this tag as well. This failing test shows that e.g. when there is a tagged tree, we insert the top tree but do not descend, thus causing the clone to have broken links. | ||||
* | | Merge pull request #3030 from linquize/symlink_supported | Edward Thomson | 2015-04-10 | 2 | -3/+52 |
|\ \ | | | | | | | If work_dir is not specified, use repo_dir to test if symlink is supported | ||||
| * | | Test: Create repo in while current dir is readonly and checkout symlink | Linquize | 2015-04-04 | 1 | -0/+47 |
| | | | |||||
| * | | For bare repository, use repo_dir to test if symlinks are supported | Linquize | 2015-04-04 | 1 | -3/+5 |
| | | | |||||
* | | | Merge branch 'pr/3035' | Edward Thomson | 2015-04-10 | 1 | -4/+4 |
|\ \ \ | |||||
| * | | | ISO C90 forbids mixed declarations and code | Jozef Matula | 2015-04-08 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | GIT_UNUSED() macro generates code therefore it should be used after variable declarations. | ||||
* | | | | Merge pull request #3038 from pks-t/fix-regcomp-retval-check | Edward Thomson | 2015-04-10 | 4 | -6/+18 |
|\ \ \ \ | | | | | | | | | | | Fix checking of return value for regcomp. | ||||
| * | | | | Fix checking of return value for regcomp. | Patrick Steinhardt | 2015-04-10 | 4 | -6/+18 |
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The regcomp function returns a non-zero value if compilation of a regular expression fails. In most places we only check for negative values, but positive values indicate an error, as well. Fix this tree-wide, fixing a segmentation fault when calling git_config_iterator_glob_new with an invalid regexp. | ||||
* | | | | Merge pull request #3033 from pks-t/describe-oid-fallback | Edward Thomson | 2015-04-08 | 4 | -2/+9 |
|\ \ \ \ | |/ / / |/| | | | Fix describe without refs and OID fallbacks | ||||
| * | | | describe: only abort without tags if fallback is not allowed. | Patrick Steinhardt | 2015-04-07 | 2 | -2/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | When no reference names could be found we did error out when trying to describe a commit. This is wrong, though, when the option to fall back to a commit's object ID is set. | ||||
| * | | | describe example: enable building by default. | Patrick Steinhardt | 2015-04-07 | 2 | -0/+2 |
|/ / / | |||||
* | | | Merge pull request #3031 from git-up/git_index_add | Edward Thomson | 2015-04-04 | 2 | -2/+2 |
|\ \ \ | | | | | | | | | Entry argument passed to git_index_add_frombuffer() should be const | ||||
| * | | | Entry argument passed to git_index_add_frombuffer() should be const | Pierre-Olivier Latour | 2015-04-03 | 2 | -2/+2 |
| | | | | |||||
* | | | | Merge pull request #3022 from ethomson/gitignore_vim | Edward Thomson | 2015-04-01 | 1 | -0/+1 |
|\ \ \ \ | |/ / / |/| | | | gitignore: ignore vim swapfiles | ||||
| * | | | gitignore: ignore vim swapfiles | Edward Thomson | 2015-03-30 | 1 | -0/+1 |
|/ / / | |||||
* | | | Merge pull request #3011 from ethomson/filter_zero_tempbuf | Edward Thomson | 2015-03-25 | 11 | -0/+25 |
|\ \ \ | | | | | | | | | Clear temporary buffer when filtering | ||||
| * | | | filter: clear the temp_buf if we're using one | Edward Thomson | 2015-03-25 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | If we are using a temporary buffer for filtering, be sure to clear it before using it, in case the file that we are filtering is empty. | ||||
| * | | | Illustrate bad checkout on Windows | Jacques Germishuys | 2015-03-25 | 10 | -0/+22 |
| | | | | |||||
* | | | | Merge pull request #3017 from ethomson/leaks | Carlos Martín Nieto | 2015-03-25 | 3 | -5/+7 |
|\ \ \ \ | | | | | | | | | | | squash some leaks | ||||
| * | | | | squash some leaks | Edward Thomson | 2015-03-24 | 3 | -5/+7 |
|/ / / / | |||||
* | | | | Merge pull request #2990 from leoyanggit/custom_param | Edward Thomson | 2015-03-24 | 7 | -12/+30 |
|\ \ \ \ | | | | | | | | | | | Add a custom param to git_smart_subtransport_definition | ||||
| * | | | | Add a custom param to git_smart_subtransport_definition | Leo Yang | 2015-03-18 | 7 | -12/+30 |
| | | | | | | | | | | | | | | | | | | | | | | | | | The smart transport has already take the payload param. For the sub transport a payload param is useful for the implementer. | ||||
* | | | | | Merge pull request #2986 from tkelman/mingw_winhttp | Edward Thomson | 2015-03-24 | 9 | -33/+792 |
|\ \ \ \ \ | | | | | | | | | | | | | WinHTTP for MinGW | ||||
| * | | | | | Use swprintf_s everywhere except mingw.org | Tony Kelman | 2015-03-19 | 2 | -5/+8 |
| | | | | | | |||||
| * | | | | | set PKG_CONFIG_LIBDIR in toolchain-mingw32.cmake | Tony Kelman | 2015-03-17 | 1 | -0/+2 |
| | | | | | | |||||
| * | | | | | use a different .def file for 64 bit | Tony Kelman | 2015-03-16 | 2 | -2/+37 |
| | | | | | | |||||
| * | | | | | Fix out-of-tree build | Tony Kelman | 2015-03-16 | 1 | -4/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | link against crypt32 for CertFreeCertificateContext | ||||
| * | | | | | Fix build on mingw-w64 | Alex Crichton | 2015-03-16 | 1 | -2/+2 |
| | | | | | | |||||
| * | | | | | patch so mingw-w64 can build | klutzy | 2015-03-16 | 2 | -0/+16 |
| | | | | | | |||||
| * | | | | | Win32: Enable WinHTTP for MinGW | Philip Kelley | 2015-03-16 | 8 | -34/+735 |
| | | | | | | |||||
* | | | | | | Merge pull request #2947 from libgit2/cmn/notes-buf | Edward Thomson | 2015-03-24 | 5 | -28/+57 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | note: use a git_buf to return the default namespace | ||||
| * | | | | | | note: use a git_buf to return the default namespacecmn/notes-buf | Carlos Martín Nieto | 2015-03-17 | 5 | -28/+57 |
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The caller has otherwise no way to know how long the string will be allocated or ability to free it. This fixes #2944. | ||||
* | | | | | | Merge pull request #2858 from pks-t/remote-squashed | Carlos Martín Nieto | 2015-03-24 | 3 | -1/+279 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | examples: add remote example. | ||||
| * | | | | | | examples: add remote example. | Patrick Steinhardt | 2015-03-19 | 3 | -1/+279 |
| | | | | | | | |||||
* | | | | | | | Merge pull request #3010 from ethomson/checkout_invalid_path_err | Carlos Martín Nieto | 2015-03-24 | 1 | -1/+1 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | checkout: report correct invalid path | ||||
| * | | | | | | | checkout: report correct invalid path | Edward Thomson | 2015-03-23 | 1 | -1/+1 |
| | | | | | | | | |||||
* | | | | | | | | git: make sure to close the network stream | Carlos Martín Nieto | 2015-03-21 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case of a bad url or other error during the connection setup, we close the stream via free. | ||||
* | | | | | | | | Merge pull request #3003 from shawnl/master | Edward Thomson | 2015-03-20 | 1 | -1/+1 |
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / |/| | | | | | | | fix changelog | ||||
| * | | | | | | | fix changelog | Shawn Landden | 2015-03-20 | 1 | -1/+1 |
|/ / / / / / / | |||||
* | | | | | | | Merge pull request #3000 from libgit2/vmg/mkdir-ext | Edward Thomson | 2015-03-19 | 1 | -5/+14 |
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | mkdir-ext: Assume directories don't exist; fix all race cases | ||||
| * | | | | | | mkdir-ext: Retry lstat on EEXIST racevmg/mkdir-ext | Vicent Marti | 2015-03-19 | 1 | -5/+14 |
|/ / / / / / | |||||
* | | | | | | Merge pull request #2996 from ethomson/dll_comments | Carlos Martín Nieto | 2015-03-19 | 1 | -2/+6 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | win32 resource: allow custom comments field in DLL | ||||
| * | | | | | | win32 resource: allow custom comments field in DLL | Edward Thomson | 2015-03-18 | 1 | -2/+6 |
| | |_|_|_|/ | |/| | | | | |||||
* | | | | | | Merge pull request #2967 from jacquesg/merge-whitespace | Edward Thomson | 2015-03-18 | 57 | -17/+261 |
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | Allow merges of files (and trees) with whitespace problems/fixes | ||||
| * | | | | | Added changelog entries for whitespace and patience merges. | Jacques Germishuys | 2015-03-17 | 1 | -0/+12 |
| | | | | | |