summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-03-23Add DiffIndexToWorkdirMark Probst
2015-03-23Add DiffTreeToWorkdirWithIndexMark Probst
2015-03-23Add Commit.AmendMark Probst
2015-03-22Merge pull request #185 from griffindy/dg-add-resetCarlos Martín Nieto
Add support for libgit2's git_reset.
2015-03-21Add support for libgit2's git_reset.Dylan Griffin
Adds a new method to *Repository called ResetToCommit as well as constants for the three reset modes that libgit2 currently supports. This does not need to be limited to Commit, we actually just need something with a gitObject, which blobs and other Objects have, they will just require different methods. I only need to be able to reset to commits, so that's all I'm implementing right now. Also adds a test which updates the test repository README twice and then resets to the first commit.
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-15Merge branch 'v22'Carlos Martín Nieto
2015-03-15Add a bit more on next vs masterCarlos Martín Nieto
2015-03-15Correct README on what master tracksCarlos Martín Nieto
The second mention still said that master tracks master. Add a mention of next which will become the branch to track upstream tip.
2015-03-15Merge branch 'master' into v22Carlos Martín Nieto
2015-03-15Add a call to ldconfig in the travis scriptCarlos Martín Nieto
This should help it find the library we just installed.
2015-03-15Make travis script install to /usr/localCarlos Martín Nieto
This is the correct place for software not installed by the system's package manager.
2015-03-15Correct README on what master tracksCarlos Martín Nieto
The second mention still said that master tracks master. Add a mention of next which will become the branch to track upstream tip.
2015-03-11Merge pull request #178 from schani/masterCarlos Martín Nieto
Fixes and improvements
2015-03-04Add commit summary getterMark Probst
2015-03-04go fmtMark Probst
2015-03-04Default signatureMark Probst
2015-03-04State cleanupMark Probst
2015-03-04CherrypickMark Probst
2015-03-04Repository stateMark Probst
2015-03-04Fix typos in constantsMark Probst
2015-02-19Add BranchIterator#ForEach.David Calavera
This abstracts the branch iteration from the user.
2015-02-13use v22 travis resultsMatthew Donoughe
2015-02-13return to correct directory for main buildMatthew Donoughe
2015-02-13sudo make install?Matthew Donoughe
2015-02-13install libgit2 on travis ciMatthew Donoughe
2015-02-13remove static git support filesMatthew Donoughe
2015-02-13use git_signature_freeMatthew Donoughe
2015-02-13Merge pull request #173 from AaronO/add/graph-methodsCarlos Martín Nieto
Add bindings for git_graph_* methods
2015-02-12Remove "Graph" prefix on method namesAaron O'Mullan
2015-02-11Add bindings for git_graph_* methodsAaron O'Mullan
Add graph.go
2015-01-30Merge pull request #172 from motemen/fix-test-patch-prefixCarlos Martín Nieto
Fix test to force diff prefixes.
2015-01-30Fix test to force diff prefixes.motemen
2015-01-29Merge commit '92a1f92d912cdb5f68da8c1e5e3a4d1ebfd282db'Carlos Martín Nieto
2015-01-29Add TargetDirectory field to Checkout options.joseferminj
TargetDirectory field indicates a alternative checkout path to workdir.
2015-01-29Merge pull request #171 from pks-t/submodule-foreach-fixCarlos Martín Nieto
Submodule foreach fix
2015-01-28Fix ForeachSubmodule panicing.Patrick Steinhardt
As the SubmoduleVisitor function is called from inside libgit2 we cannot use Go types in its signature. Fix by using C types instead.
2015-01-28Add test triggering ForeachSubmodule panic.Patrick Steinhardt
2015-01-15Merge pull request #169 from tarrant/masterCarlos Martín Nieto
Add Go functions for git_config_find_* functions
2015-01-14Add Go functions for git_config_find_* functionsTarrant Rollins
ConfigFindGlobal -> git_config_find_global ConfigFindSystem -> git_config_find_system ConfigFindXDG -> git_config_find_xdg
2015-01-14Explain the difference between dynamic and static versionsCarlos Martín Nieto
With the release of libgit2 v0.22 we can link against a version of library we've wrapped in more than a PoC sense. Explain the difference and say how to use each version.
2015-01-14Link dynamically to libgit2Carlos Martín Nieto
With libgit2 v0.22 released, we can expect its API and ABI to remain stable when installed on the system. Linking dynamically allows us to use the go tool alone to build and install the package.
2015-01-12Update vendored libgit2Carlos Martín Nieto
2015-01-09Merge pull request #167 from calavera/fix_git_submodulesCarlos Martín Nieto
Fix inconsistent function call in Submodule.
2015-01-09Merge pull request #165 from calavera/remote_prune_refsCarlos Martín Nieto
Add prune methods to Remote.
2015-01-09Merge pull request #166 from benburkert/masterCarlos Martín Nieto
Add git note support
2015-01-08Remove version from opts structure.David Calavera
It's not necessary.
2015-01-08Do not double check if the signature is nil.David Calavera
2015-01-08Add Submodule.Update method.David Calavera
Update libgit2 to a version that includes https://github.com/libgit2/libgit2/pull/2804.