summaryrefslogtreecommitdiff
path: root/checkout.go
AgeCommit message (Collapse)Author
2018-12-17Fix typo in constant nameWill Medlar
2017-07-08First round of mass keep-alive additionsCarlos Martín Nieto
2016-08-28Removed Useless Argument CheckMirko Nosenzo
2016-06-25Checkout Payload Pointer FixMirko Nosenzo
- Tracking pointer once - Tracking pointer and not struct
2016-05-29Checkout Callbacks Payload Check in Callback FunctionsMirko Nosenzo
Checking payloads in callback functions
2016-05-29Checkout Callbacks Payload CheckMirko Nosenzo
Checking payloads before using them
2016-05-29Checkout CallbacksMirko Nosenzo
- Added CheckoutNotifyType mapping git_checkout_notify_t - Added CheckoutOpts.NotifyFlags of type CheckoutNotifyType - Added CheckoutNotifyCallback mapping git_checkout_notify_cb - Added CheckoutProgressCallback mapping git_checkout_progress_cb
2015-09-18Expose baseline field in CheckoutOptionsJose Alvarez
2015-07-10Bring back CheckoutForceCarlos Martín Nieto
This was mistakenly deleted when the SafeCreate was replaced with RecreateMissing.
2015-06-08Merge remote-tracking branch 'origin/master' into nextCarlos Martín Nieto
2015-04-03Merge pull request #180 from arcamael/masterCarlos Martín Nieto
Add possibiliy of checkout on specific path
2015-03-15Add possibiliy of checkout on specific pathGeoffrey Ragot
2015-03-15Update to libgit2 d675982a153Carlos Martín Nieto
There's been some changes to the checkout strategy, especially the SAFE_CREATE mode, which is now the RECREATE_MISSING flag, though that shouldn't be necessary to use in the general case. The largest changes come from the removal of the signture from ref-modifying functions/methods and the removal of the reflog string in all but those directly related to moving references.
2015-03-04CherrypickMark Probst
2015-03-04Fix typos in constantsMark Probst
2015-01-29Add TargetDirectory field to Checkout options.joseferminj
TargetDirectory field indicates a alternative checkout path to workdir.
2014-10-28Make the constants have typesCarlos Martín Nieto
While Go will assign the correct type to a const block when it auto-creates the values, assigning makes the const be typeless and will only gain it in each particular use. Make each constant in the blocks have an assigned type.
2014-08-28embrace static typesCMGS
2014-08-27enhance checkout, add CheckoutTree methodCMGS
2014-05-03checkout: init_opts -> init_optionsCarlos Martín Nieto
2014-03-26update to new merge APIJesse Ezell
2014-03-11CheckoutIndex: allow for index to be nilCarlos Martín Nieto
Allow for the index to be nil and pass that to the library to use the repository's index.
2014-03-11Move checkout functions options more in line with the libraryCarlos Martín Nieto
Afjust Checkout -> CheckoutHead and pass nil if the options structure is nil so as not to overide the library's decisions.
2014-03-11Remove custom checkout opts init functionCarlos Martín Nieto
2014-03-11Adjust to checkout_opts -> checkout_optionsCarlos Martín Nieto
2014-02-26Added git error code to the error object.Jesper Hansen
2013-12-18Lock the OS thread when acessing errorsCarlos Martín Nieto
The library stores error information in thread-local storage, which means we need to make sure that the Go runtime doesn't switch OS threads between the time we call a function and th time we attempt to retrieve the error information.
2013-11-14Don't repeat the pkg-config lineCarlos Martín Nieto
This is only needed once per package. Having it on every file makes the build system ask about it n times, which is silly.
2013-09-12Camel-case constantsCarlos Martín Nieto
Make the names look more like what you'd expect from Go.
2013-03-19Implement rudimentary checkout operationsAxel Wagner