Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Modified test for revwalk_hidecb | Anurag Gupta | 2014-03-24 | 1 | -2/+2 | |
| | | | ||||||
| * | | Correcting format of comments in header file | Anurag Gupta | 2014-03-24 | 1 | -13/+13 | |
| | | | ||||||
| * | | Undoing local change done for building on x64 | Anurag Gupta | 2014-03-24 | 2 | -2/+1 | |
| | | | ||||||
| * | | Conforming to libgit2 coding style. | Anurag Gupta | 2014-03-24 | 4 | -8/+5 | |
| | | | ||||||
| * | | Remove unused push_cb_data | Anurag Gupta | 2014-03-24 | 1 | -5/+0 | |
| | | | ||||||
| * | | Unit Tests for hide_cb in revwalk | Anurag Gupta | 2014-03-24 | 2 | -2/+201 | |
| | | | ||||||
| * | | Callback to hide commits in revision walker. | Anurag Gupta | 2014-03-24 | 3 | -0/+56 | |
| | | | ||||||
* | | | Merge pull request #2201 from ethomson/gitbuf_test_fix | Russell Belfer | 2014-03-24 | 1 | -1/+1 | |
|\ \ \ | | | | | | | | | env test needs to deref git_buf's ptr | |||||
| * | | | env test needs to deref git_buf's ptr | Edward Thomson | 2014-03-24 | 1 | -1/+1 | |
|/ / / | ||||||
* | | | Merge pull request #2183 from ethomson/merge_refactor | Vicent Marti | 2014-03-24 | 29 | -999/+1092 | |
|\ \ \ | |/ / |/| | | Refactor the `git_merge` API | |||||
| * | | UNBORN implies FAST_FORWARD | Edward Thomson | 2014-03-20 | 3 | -4/+5 | |
| | | | ||||||
| * | | Introduce GIT_MERGE_ANALYSIS_UNBORN | Edward Thomson | 2014-03-20 | 3 | -14/+52 | |
| | | | ||||||
| * | | git_merge_status -> git_merge_analysis | Edward Thomson | 2014-03-20 | 3 | -37/+41 | |
| | | | ||||||
| * | | Remove `git_merge_result` as it's now unnecessary | Edward Thomson | 2014-03-20 | 11 | -239/+39 | |
| | | | ||||||
| * | | Update git_merge_tree_opts to git_merge_options | Edward Thomson | 2014-03-20 | 17 | -75/+75 | |
| | | | ||||||
| * | | Change signature of `git_merge` to take merge and checkout opts | Edward Thomson | 2014-03-20 | 11 | -116/+75 | |
| | | | ||||||
| * | | Remove fastforward / uptodate from `git_merge` | Edward Thomson | 2014-03-20 | 4 | -189/+73 | |
| | | | ||||||
| * | | Add `git_merge_status` to provide info about an upcoming merge | Edward Thomson | 2014-03-20 | 5 | -157/+204 | |
| | | | ||||||
| * | | Introduce git_merge_file for consumers | Edward Thomson | 2014-03-20 | 13 | -280/+640 | |
| | | | ||||||
* | | | Merge pull request #2200 from libgit2/cmn/opts-buf | Vicent Marti | 2014-03-24 | 3 | -16/+25 | |
|\ \ \ | | | | | | | | | settings: use git_buf for returning strings | |||||
| * | | | opts: bits are not bytes | Carlos Martín Nieto | 2014-03-24 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | The default cache size is 256 megabytes, not megabits as claimed in the docs. | |||||
| * | | | settings: use git_buf for returning strings | Carlos Martín Nieto | 2014-03-24 | 3 | -15/+24 | |
|/ / / | | | | | | | | | | | | | This survived the last round of culling, as the signature is only in the comments. | |||||
* | | | Merge pull request #2197 from linquize/assert-wrong | Vicent Marti | 2014-03-21 | 1 | -1/+1 | |
|\ \ \ | | | | | | | | | Fix wrong assertion | |||||
| * | | | Fix wrong assertion | Linquize | 2014-03-21 | 1 | -1/+1 | |
|/ / / | | | | | | | | | | Fixes issue #2196 | |||||
* | | | Merge pull request #2195 from libgit2/cmn/revwalk-no-hide | Vicent Marti | 2014-03-20 | 3 | -5/+22 | |
|\ \ \ | | | | | | | | | revwalk: don't try to find merge bases when there can be none | |||||
| * | | | revwalk: don't try to find merge bases when there can be none | Carlos Martín Nieto | 2014-03-20 | 3 | -5/+22 | |
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As a way to speed up the cases where we need to hide some commits, we find out what the merge bases are so we know to stop marking commits as uninteresting and avoid walking down a potentially very large amount of commits which we will never see. There are however two oversights in current code. The merge-base finding algorithm fails to recognize that if it is only given one commit, there can be no merge base. It instead walks down the whole ancestor chain needlessly. Make it return an empty list immediately in this situation. The revwalk does not know whether the user has asked to hide any commits at all. In situation where the user pushes multiple commits but doesn't hide any, the above fix wouldn't do the trick. Keep track of whether the user wants to hide any commits and only run the merge-base finding algorithm when it's needed. | |||||
* | | | Merge pull request #2194 from libgit2/cmn/reflog-bare | Vicent Marti | 2014-03-20 | 2 | -13/+104 | |
|\ \ \ | |/ / |/| | | reflog: follow core.logallrefupdates | |||||
| * | | reflog: remove some dead code | Carlos Martín Nieto | 2014-03-20 | 1 | -3/+0 | |
| | | | ||||||
| * | | reflog: follow core.logallrefupdates | Carlos Martín Nieto | 2014-03-20 | 2 | -10/+104 | |
|/ / | | | | | | | | | On bare by default, or when core.logallrefupdates is false, we must not write the reflog. | |||||
* | | Merge pull request #2193 from libgit2/cmn/reflog-HEAD | Vicent Marti | 2014-03-19 | 3 | -37/+297 | |
|\ \ | | | | | | | Reflog all the way | |||||
| * | | reflog: handle symref chains | Carlos Martín Nieto | 2014-03-19 | 2 | -3/+84 | |
| | | | | | | | | | | | | | | | Given HEAD -> master -> foo, when updating foo's reflog we should also update HEAD's, as it's considered the current branch. | |||||
| * | | reflog: handle the birth of a branch | Carlos Martín Nieto | 2014-03-19 | 2 | -18/+72 | |
| | | | | | | | | | | | | | | | | | | The reflog append function was overzealous in its checking. When passed an old and new ids, it should not do any checking, but just serialize the data to a reflog entry. | |||||
| * | | reflog: simplify the append logic | Carlos Martín Nieto | 2014-03-19 | 1 | -22/+7 | |
| | | | | | | | | | | | | Remove some duplicated logic. | |||||
| * | | refdb: don't update when there's no need | Carlos Martín Nieto | 2014-03-19 | 3 | -0/+68 | |
| | | | | | | | | | | | | | | | If the caller wants to update a ref to point to the same target as it currently has, we should return early and avoid writing to the reflog. | |||||
| * | | reflog: more comprehensive HEAD tests | Carlos Martín Nieto | 2014-03-18 | 2 | -4/+76 | |
|/ / | | | | | | | | | | | | | | | | | The existing ones lack checking zeroed ids when switching back from an unborn branch as well as what happens when detaching. The reflog appending function mistakenly wrote zeros when dealing with a detached HEAD. This explicitly checks for those situations and fixes them. | |||||
* | | Merge pull request #2189 from Aimeast/octopus | Vicent Marti | 2014-03-18 | 3 | -2/+105 | |
|\ \ | | | | | | | Implement git_merge_base_octopus | |||||
| * | | Implement git_merge_base_octopus | Aimeast | 2014-03-18 | 3 | -2/+105 | |
| | | | ||||||
* | | | Merge pull request #2192 from phkelley/development | Vicent Marti | 2014-03-18 | 2 | -20/+104 | |
|\ \ \ | |/ / |/| | | Seamless support for NTLM/Kerberos auth on Windows | |||||
| * | | Seamless support for NTLM/Kerberos auth on Windows | Philip Kelley | 2014-03-18 | 2 | -20/+104 | |
| | | | ||||||
* | | | Merge pull request #2190 from libgit2/cmn/current-branch-reflog | Vicent Marti | 2014-03-18 | 9 | -56/+124 | |
|\ \ \ | |/ / |/| | | refs: append to the HEAD reflog when updating the current branch | |||||
| * | | refs: append to the HEAD reflog when updating the current branch | Carlos Martín Nieto | 2014-03-17 | 5 | -31/+120 | |
| | | | | | | | | | | | | | | | | | | | | | | | | When we update the current branch, we must also append to HEAD's reflog to keep them in sync. This is a bit of a hack, but as git.git says, it covers 100% of default cases. | |||||
| * | | repo: remove test which deletes HEAD | Carlos Martín Nieto | 2014-03-17 | 1 | -21/+0 | |
| | | | | | | | | | | | | | | | | | | This is not something anybody would ever do; removing HEAD makes the .git/ directory no longer be a repository, so we wouldn't be expected to handle such a situation. | |||||
| * | | branch: constness fixes | Carlos Martín Nieto | 2014-03-17 | 4 | -4/+4 | |
| | | | ||||||
* | | | Merge pull request #2191 from libgit2/cmn/projects | Russell Belfer | 2014-03-17 | 1 | -0/+9 | |
|\ \ \ | |/ / |/| | | Add a few projects to the list | |||||
| * | | Add a few projects to the list | Carlos Martín Nieto | 2014-03-17 | 1 | -0/+9 | |
|/ / | ||||||
* | | refs: fix copy-paste doc error | Carlos Martín Nieto | 2014-03-13 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #2184 from libgit2/rb/fix-revwalk-order-regression | Edward Thomson | 2014-03-12 | 3 | -1/+91 | |
|\ \ | |/ |/| | Fix pqueue sort boundary condition bug | |||||
| * | Fix pqueue sort boundary condition bug | Russell Belfer | 2014-03-12 | 3 | -1/+91 | |
|/ | | | | | | If the pqueue comparison fn returned just 0 or 1 (think "a<b") then the sort order of returned items could be wrong because there was a "< 0" that really needed to be "<= 0". Yikes!!! | |||||
* | MSVC is silly | Carlos Martín Nieto | 2014-03-10 | 1 | -2/+2 | |
| | ||||||
* | Merge pull request #2175 from Yogu/submodule-resolve-url | Vicent Marti | 2014-03-10 | 2 | -10/+30 | |
|\ | | | | | Add git_submodule_resolve_url() |