Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #3037 from libgit2/cmn/hide-then-push | Edward Thomson | 2015-04-16 | 1 | -0/+17 |
|\ | | | | | Handle hide-then-push in the revwalk | ||||
| * | revwalk: add failing test for hiding and then pushing a commit | Carlos Martín Nieto | 2015-04-08 | 1 | -0/+17 |
| | | | | | | | | | | When we hide a commit which we later push into the revwalk, we do not handle this well and return commits which we should not. | ||||
* | | Merge pull request #3039 from jeffhostetler/jeffhostetler/msvc_crtdbg | Edward Thomson | 2015-04-16 | 1 | -0/+19 |
|\ \ | | | | | | | Add memory leak detection/reporting using MSVC CRTDBG facility. | ||||
| * | | Add MSVC CRTDBG memory leak reporting. | Jeff Hostetler | 2015-04-15 | 1 | -0/+19 |
| |/ | |||||
* | | Merge pull request #2974 from libgit2/cmn/clone-everything | Edward Thomson | 2015-04-10 | 1 | -0/+45 |
|\ \ | | | | | | | Make sure to pack referenced objects for non-branches | ||||
| * | | 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 | 1 | -0/+47 |
|\ \ \ | | | | | | | | | 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 |
| | | | | |||||
* | | | | Fix checking of return value for regcomp. | Patrick Steinhardt | 2015-04-10 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | | describe: only abort without tags if fallback is not allowed. | Patrick Steinhardt | 2015-04-07 | 1 | -1/+6 |
| |_|/ |/| | | | | | | | | | | | | | | 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. | ||||
* | | | Merge pull request #3011 from ethomson/filter_zero_tempbuf | Edward Thomson | 2015-03-25 | 10 | -0/+22 |
|\ \ \ | | | | | | | | | Clear temporary buffer when filtering | ||||
| * | | | Illustrate bad checkout on Windows | Jacques Germishuys | 2015-03-25 | 10 | -0/+22 |
| | | | | |||||
* | | | | squash some leaks | Edward Thomson | 2015-03-24 | 1 | -0/+2 |
| | | | | |||||
* | | | | Merge pull request #2947 from libgit2/cmn/notes-buf | Edward Thomson | 2015-03-24 | 2 | -5/+12 |
|\ \ \ \ | |/ / / |/| | | | 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 | 2 | -5/+12 |
| | |/ | |/| | | | | | | | | | | | | | | | | 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 #2967 from jacquesg/merge-whitespace | Edward Thomson | 2015-03-18 | 53 | -8/+206 |
|\ \ \ | |_|/ |/| | | Allow merges of files (and trees) with whitespace problems/fixes | ||||
| * | | Collapse whitespace flags into git_merge_file_flags_t | Jacques Germishuys | 2015-03-16 | 2 | -4/+4 |
| | | | |||||
| * | | Renamed git_merge_options 'flags' to 'tree_flags' | Jacques Germishuys | 2015-03-16 | 4 | -8/+8 |
| | | | |||||
| * | | Added tests to merge files and branches with whitespace problems and fixes | Jacques Germishuys | 2015-03-16 | 49 | -0/+198 |
| | | | |||||
* | | | Merge pull request #2993 from ethomson/clar_update | Carlos Martín Nieto | 2015-03-18 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | clar: update to 08f434d | ||||
| * | | | clar: update to 08f434d | Edward Thomson | 2015-03-17 | 1 | -1/+1 |
| | |/ | |/| | |||||
* | | | Merge remote-tracking branch 'ethomson/submodule_8dot3' | Carlos Martín Nieto | 2015-03-18 | 1 | -0/+108 |
|\ \ \ | |||||
| * | | | repository: Introduce "reserved names" | Edward Thomson | 2015-02-27 | 1 | -0/+108 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | A repository can have multiple "reserved names" now, not just a single "short name" for the repository folder itself. Refactor to include a git_repository__reserved_names that returns all the reserved names for a repository. | ||||
* | | | | Merge pull request #2985 from claudiuolteanu/patch-1 | Edward Thomson | 2015-03-17 | 1 | -1/+1 |
|\ \ \ \ | |_|/ / |/| | | | Lower case the include directive of windows header | ||||
| * | | | Lower case the include directive of windows header | Claudiu Olteanu | 2015-03-16 | 1 | -1/+1 |
| | |/ | |/| | | | | Since the Linux platform has a case sensitive file system, the header name should be lower case for cross compiling purposes. (On Linux, the mingw header is called ```windows.h```). | ||||
* | | | Merge pull request #2962 from libgit2/cmn/reflog-annotated | Edward Thomson | 2015-03-17 | 5 | -16/+66 |
|\ \ \ | | | | | | | | | Add annotated versions of ref-modying functions | ||||
| * | | | Add tests for the annotated versions of ref-modifying functions | Carlos Martín Nieto | 2015-03-16 | 5 | -16/+66 |
| |/ / | | | | | | | | | | | | | This also brings the soft-reset tests back to life. The function name was missing an underscore, meaning they had not been running. | ||||
* | | | Merge pull request #2982 from libgit2/cmn/stream-check-ec | Edward Thomson | 2015-03-17 | 1 | -0/+7 |
|\ \ \ | | | | | | | | | Don't ask for a stream's certificate unless it's encrypted | ||||
| * | | | Add failing test for cert callback with non-ecrypted stream | Carlos Martín Nieto | 2015-03-16 | 1 | -0/+7 |
| |/ / | | | | | | | | | | | | | | | | When we have an HTTP stream and have set the certificatre check callback, we currently fail as we ask the unencrypted stream for its certificate. | ||||
* | | | Merge pull request #2977 from pks-t/submodule-sync-url-fix | Edward Thomson | 2015-03-17 | 1 | -3/+3 |
|\ \ \ | |/ / |/| | | Fix git_submodule_sync writing URL to wrong key. | ||||
| * | | Fix git_submodule_sync writing URL to wrong key. | Patrick Steinhardt | 2015-03-12 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | Currently git_submodule_sync writes the submodule's URL to the key 'branch.<REMOTE_NAME>.remote' while the reference implementation of `git submodule sync` writes to 'remote.<REMOTE_NAME>.url', which is the intended behavior according to git-submodule(1). | ||||
* | | | Put back the number of expected references to 6 from the test repo | Carlos Martín Nieto | 2015-03-13 | 1 | -3/+3 |
|/ / | | | | | | | | | | | | | This was but down to 5 when GitHub made a change to their server which made them stop honouring the include-tag request. This has recently been corrected, so we can bring it back up to six. | ||||
* | | Merge commit 'refs/pull/2879/head' of ssh://github.com/libgit2/libgit2 | Carlos Martín Nieto | 2015-03-11 | 1 | -0/+122 |
|\ \ | |||||
| * | | Add API to add a memory buffer to an index | Damien PROFETA | 2015-02-25 | 1 | -0/+122 |
| |/ | | | | | | | | | | | git_index_add_frombuffer enables now to store a memory buffer in the odb and to store an entry in the index directly if the index is attached to a repository. | ||||
* | | Merge pull request #2970 from ethomson/inmemory_bare | Carlos Martín Nieto | 2015-03-11 | 1 | -0/+27 |
|\ \ | | | | | | | "In-memory" repos are bare by default | ||||
| * | | repository_new: test its bareness | Edward Thomson | 2015-03-10 | 1 | -0/+27 |
| | | | |||||
* | | | Fixed build warning | Pierre-Olivier Latour | 2015-03-08 | 1 | -1/+1 |
| | | | |||||
* | | | refdb: use the same id for old and new when renaming a referencecmn/rename-reflog | Carlos Martín Nieto | 2015-03-08 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When we rename a reference, we want the old and new ids to be the same one (as we did not change it). The normal code path looks up the old id from the current value of the brtanch, but by the time we look it up, it does not exist anymore and thus we write a zero id. Pass the old id explicitly instead. | ||||
* | | | Merge pull request #2961 from ethomson/filter_relative_paths | Edward Thomson | 2015-03-06 | 1 | -0/+97 |
|\ \ \ | | | | | | | | | Filter relative paths | ||||
| * | | | filter::file tests: test filter_list_apply_to_file | Edward Thomson | 2015-03-06 | 1 | -0/+97 |
| |/ / | | | | | | | | | | | | | Test that filter_list_apply_to_file works and can accept repo-relative paths. | ||||
* | | | branch: fix generated reflog message upon renaming | nulltoken | 2015-03-04 | 1 | -1/+1 |
| | | | |||||
* | | | branch: fix generated reflog message upon creation | nulltoken | 2015-03-04 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #2932 from jeffhostetler/jeffhostetler/big_clone_crash | Carlos Martín Nieto | 2015-03-04 | 1 | -0/+48 |
|\ \ | | | | | | | Fix crash in git_clone on extremely large repos | ||||
| * | | Fix p_ftruncate to handle big files for git_clone | Jeff Hostetler | 2015-03-03 | 1 | -0/+48 |
| |/ | |||||
* | | libgit2_shutdown: clear err message on shutdown | Edward Thomson | 2015-03-04 | 1 | -1/+0 |
| | | | | | | | | | | | | Clear the error message on git_libgit2_shutdown for all versions of the library (no threads and Win32 threads). Drop the giterr_clear in clar, as that shouldn't be necessary. | ||||
* | | Merge pull request #2886 from jeffhostetler/jeffhostetler/clar_trace | Carlos Martín Nieto | 2015-03-04 | 6 | -0/+324 |
|\ \ | | | | | | | Set up git_trace in clar test suite. | ||||
| * | | Converted cl_perf_timer to use git__timer internally. | Jeff Hostetler | 2015-03-03 | 2 | -76/+11 |
| | | | |||||
| * | | Added cl_perf_timer. Updated global trace to include timers. | Jeff Hostetler | 2015-03-02 | 3 | -1/+152 |
| | | | |||||
| * | | Cleanup formatting of clar trace messages. | Jeff Hostetler | 2015-03-02 | 1 | -7/+7 |
| | | | |||||
| * | | Provide mechanism to let CLAR globally setup git_trace() | Jeff Hostetler | 2015-03-02 | 4 | -0/+238 |
| | | |