Commit Graph

391 Commits

Author SHA1 Message Date
Jesse Ezell 663c2a69c9 fix chunk create logic 2014-03-16 22:09:12 -07:00
Jesse Ezell 5f01bd7abd add branch iterator / remove useless repo from reference iterator 2014-03-12 15:49:11 -07:00
Jesse Ezell 51aa76d6f7 remove strarray wrappers 2014-03-11 16:25:22 -07:00
Jesse Ezell 0a172478dc fix return for old go versions / travis 2014-03-11 13:45:27 -07:00
Jesse Ezell 2f53196866 clean up clone code 2014-03-11 13:22:00 -07:00
Jesse Ezell d560b9e9bd cleanup clone code 2014-03-11 13:19:12 -07:00
Jesse Ezell 634acbe498 merge with latest 2014-03-11 12:55:57 -07:00
Jesse Ezell 8ad5cbc537 Merge branch 'merge' of https://github.com/jezell/git2go into merge 2014-03-11 12:49:29 -07:00
Jesse Ezell 6a068d5265 remove useless wrappers 2014-03-11 12:47:56 -07:00
Jesse Ezell 86efca0630 Merge branch 'jezell/merge' into merge 2014-03-11 12:42:18 -07:00
Jesse Ezell 7cbbeff7ac merge with latest 2014-03-11 12:42:08 -07:00
Jesse Ezell f1e889928a merge with latest, replace merge wrappers with go code 2014-03-11 12:29:40 -07:00
Carlos Martín Nieto 1cf8117814 Merge pull request #65 from jezell/blob_and_tree_updates
Minor API enhancements
2014-03-11 03:44:12 +01:00
Carlos Martín Nieto ea909d8518 Merge branch 'cmn/checkout-opts' 2014-03-11 03:36:28 +01:00
Carlos Martín Nieto 263884a908 CheckoutIndex: allow for index to be nil
Allow for the index to be nil and pass that to the library to use the
repository's index.
2014-03-11 03:30:56 +01:00
Carlos Martín Nieto b09c6d8bbe Move checkout functions options more in line with the library
Afjust Checkout -> CheckoutHead and pass nil if the options structure is
nil so as not to overide the library's decisions.
2014-03-11 03:27:35 +01:00
Carlos Martín Nieto b5b0f3f50e Remove custom checkout opts init function 2014-03-11 03:14:36 +01:00
Carlos Martín Nieto 42fce02197 Adjust to checkout_opts -> checkout_options 2014-03-11 03:09:48 +01:00
Carlos Martín Nieto 731f978b54 Merge pull request #58 from jezell/add-branch-lookup
Add branch functions
2014-03-11 02:59:33 +01:00
Jesse Ezell 5e163fa2e8 add blob chunk creation, creation of tree builders for specific trees, minor API cleanup 2014-03-07 16:43:20 -08:00
Jesse Ezell e5946d4009 Add defaults, add simple test, merge heads should be pointer array 2014-02-28 14:33:38 -08:00
Jesse Ezell 6af4d4a825 move finalizer above free 2014-02-28 11:15:39 -08:00
Jesse Ezell da64faf8bd switch from iota to explicit def 2014-02-28 11:13:51 -08:00
Jesse Ezell 127643eb54 move return outside of switch for go 1.0 / travis 2014-02-28 11:08:15 -08:00
Jesse Ezell 9fb7a746e0 fix handling of msg to treat empty str as nil 2014-02-28 10:58:53 -08:00
Jesse Ezell d6332f9526 fix msg handling to treat empty str as nil 2014-02-28 10:54:16 -08:00
Jesse Ezell b404c8b862 Remove unused consts 2014-02-28 10:47:56 -08:00
Jesse Ezell 2c56324ca5 fix bad git_buf handling 2014-02-28 10:46:57 -08:00
Carlos Martín Nieto f5f8e13744 Add a travis script
Add a build script and ask Travis to run it. It downloads the tip of
libgit2's dev branch and tests against that.
2014-02-28 15:15:32 +01:00
Carlos Martín Nieto 639b66345c Fix an old error function call that snuck in 2014-02-28 14:11:21 +01:00
Jesse Ezell 5f5906878e merge options / merge tree options 2014-02-28 01:31:01 -08:00
Jesse Ezell 9e7ba02708 wrap merge functions 2014-02-28 01:06:41 -08:00
Jesse Ezell 0497d2b114 fix bad merge (LastError -> MakeGitError) 2014-02-28 00:21:48 -08:00
Jesse Ezell 374e2112df add push, refine remotes 2014-02-27 16:36:44 -08:00
Carlos Martín Nieto fc6d0fbfff Merge pull request #59 from libgit2/cmn/refs
Add a few reference utility functions
2014-02-27 17:03:39 +01:00
Carlos Martín Nieto c431fe3c2c Merge pull request #60 from libgit2/cmn/reflogs-default
Allow for a default in reflog messages
2014-02-27 17:03:20 +01:00
Aidan Nulman 9299214e57 re-encapsulate repository 2014-02-26 23:44:32 -05:00
lye 9acd67e388 Actually type constants; unwrap DiffFile, DiffDelta, DiffHunk. 2014-02-26 16:02:26 -06:00
Jesse Ezell e2db9b16cd merge latest, cleanup error handling, add thread locks 2014-02-26 10:41:20 -08:00
Jesse Ezell a5df611100 LastError -> MakeGitError 2014-02-26 08:50:47 -08:00
Jesse Ezell baf4a84336 Merge branch 'master' of https://github.com/libgit2/git2go into add-branch-lookup 2014-02-26 08:45:44 -08:00
Jesse Ezell fe509411a5 Add thread locking 2014-02-26 08:45:38 -08:00
Jesse Ezell a728f70358 cleanup add-branch 2014-02-26 07:33:50 -08:00
Jesse Ezell 6a8e126cb9 Merge branch 'branch_functions' of http://github.com/JohannWeging/git2go into merge-add-branch-lookup 2014-02-26 07:32:16 -08:00
Carlos Martín Nieto 1c1f7bd1fa Merge branch 'more-errors' 2014-02-26 16:15:10 +01:00
Carlos Martín Nieto 00ea11691b Convert the rest of the errors 2014-02-26 16:14:31 +01:00
Jesper Hansen 499f52a354 Added git error code to the error object. 2014-02-26 16:10:00 +01:00
Carlos Martín Nieto 3e5586bd8d Remove 'oid' as id name
Following the cleanup from libgit2, let's not use 'oid' unless we mean
the name of the data type. In the other cases, we mean an identifier,
hence the name 'id'.
2014-02-26 15:30:16 +01:00
Carlos Martín Nieto 5f4283fac3 Merge branch 'index-entries' 2014-02-26 15:22:53 +01:00
Carlos Martín Nieto 14f902afed Adjust to oid -> id 2014-02-26 15:22:48 +01:00