summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* repository: Add `git_repository_open_bare`vmg/bare-openVicent Marti2013-04-172-0/+46
|
* libgit2 0.18.0 "Big Ben"Vicent Marti2013-04-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the last minor release before 1.0preview1. Highlights of this release include: - Branch API - Checkout head, index and tree - Finished clone support - Abstracted reference API to use custom backends - Full diff support - New (faster) packbuilder - Push support - New Remotes API - Revparse support (single and range commits) - Stash support - Submodules support As always, the full changelog is available at: http://libgit2.github.com/libgit2/#p/changelog Yeah, it's a huge release. Releasing stuff sucks. Expect 1.0 and API freeze in less than a month. Your faithful maintainer, vmg Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Merge pull request #1469 from libgit2/vmg/unified-revisionVicent Martí2013-04-1513-139/+239
|\ | | | | Unified rev-parse, with a revision object
| * Fix examplesvmg/unified-revisionVicent Marti2013-04-161-9/+11
| |
| * Update docsVicent Marti2013-04-151-9/+7
| |
| * git_revision -> git_revspecVicent Marti2013-04-154-32/+32
| |
| * Is this crazy?Vicent Marti2013-04-154-64/+60
| |
| * Merge remote-tracking branch 'ben/unified-revparse' into developmentVicent Marti2013-04-1513-124/+228
| |\
| | * Clean up minor detailsBen Straub2013-04-153-5/+3
| | |
| | * Clean up example code.Ben Straub2013-04-151-3/+3
| | |
| | * Change git_revparse to output git_object pointersBen Straub2013-04-1510-66/+54
| | | | | | | | | | | | This will probably prevent many lookup/free operations in calling code.
| | * Redeploy git_revparse_single.Ben Straub2013-04-156-116/+77
| | |
| | * Reintroduce git_revparse_single.Ben Straub2013-04-152-1/+15
| | |
| | * Add rev-list example to makefilesBen Straub2013-04-092-1/+4
| | |
| | * Deprecate git_revparse_single and _rangelikeBen Straub2013-04-0916-166/+156
| | |
| | * Implement unified git_revparseBen Straub2013-04-083-22/+135
| | |
| | * Propose unified rev-parse APIBen Straub2013-04-081-0/+37
| | |
* | | Merge pull request #1470 from carlosmn/remote-ls-after-closeVicent Martí2013-04-154-23/+53
|\ \ \ | |/ / |/| | Fetch fixes
| * | remote: don't try to update FETCH_HEAD if no extra heads existCarlos Martín Nieto2013-04-161-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Don't try to update anything if there are no heads to update. This saves us from trying to look into a fetch refspec when there is none. A better fix for compatibility with git when using remotes without refspecs is still needed, but this stops us from segfaulting.
| * | Allow git_remote_ls after disconnecting from the remoteCarlos Martín Nieto2013-04-154-23/+49
|/ / | | | | | | Keep the data around until free, as expected by our own fetch example
* | Merge pull request #1468 from carlosmn/obsd-sparc64Vicent Martí2013-04-153-10/+10
|\ \ | | | | | | OpenBSD & sparc64 fixes
| * | refdb tests: use the right variable sizeCarlos Martín Nieto2013-04-151-8/+8
| | | | | | | | | | | | | | | Mixing int and size_t through pointers leads to problems in big-endian machines.
| * | Fix compilation on OpenBSDCarlos Martín Nieto2013-04-152-2/+2
|/ /
* | Merge pull request #1467 from carlosmn/commit-parseVicent Martí2013-04-152-3/+30
|\ \ | | | | | | commit: correctly detect the start of the commit message
| * | commit: correctly detect the start of the commit messageCarlos Martín Nieto2013-04-152-3/+30
|/ / | | | | | | | | | | | | | | | | The end of the header is signaled by to consecutive LFs and the commit message starts immediately after. Jumping over LFs at the start of the message is a bug and leads to creating different commits if when rebuilding history. This also fixes an empty commit message being returned as "\n".
* | Merge pull request #1464 from ethomson/refdb_freeRussell Belfer2013-04-121-1/+9
|\ \ | | | | | | dec refcount on refdb instead of always freeing
| * | dec refcount on refdb instead of always freeingEdward Thomson2013-04-121-1/+9
|/ /
* | Merge pull request #1450 from carlosmn/branch-upstreamVicent Martí2013-04-1112-179/+337
|\ \ | | | | | | Branch upstream configuration
| * | branch: add more upstream configuration managementCarlos Martín Nieto2013-04-113-1/+162
| | | | | | | | | | | | | | | Add functions to set and unset the upstream configuration to complement the getter we already have.
| * | branch: refactor git_branch_remote_nameCarlos Martín Nieto2013-03-312-26/+23
| | | | | | | | | | | | | | | | | | Return the size we'd need to write to instead of simply an error. Split the function into two to be used later by the upstream configuration functions.
| * | branch: rename 'tracking' to 'upstream'Carlos Martín Nieto2013-03-3010-76/+76
| | | | | | | | | | | | | | | The term 'tracking' is overloaded. Help distinguish what we mean by using 'upstream' for this part of the library.
* | | Merge pull request #1367 from yorah/fix/pathspecs_behaviourVicent Martí2013-04-116-175/+268
|\ \ \ | | | | | | | | Correctly return matched pathspec when passing "*" or "."
| * | | Notify '*' pathspec correctly when diffingyorah2013-04-116-175/+268
|/ / / | | | | | | | | | I also moved all tests related to notifying in their own file.
* | | object: Export git_object_dupVicent Marti2013-04-107-16/+19
| | |
* | | Merge pull request #1424 from phkelley/efficient_pushVicent Martí2013-04-101-35/+138
|\ \ \ | | | | | | | | Reduce the number of unnecessary objects in pushed packs
| * | | Fix dumb mistake in the comparison functionPhilip Kelley2013-03-191-3/+1
| | | |
| * | | Convert enqueue_object to a functionPhilip Kelley2013-03-191-21/+19
| | | |
| * | | Reduce the number of unnecessary objects in pushed packsPhilip Kelley2013-03-191-35/+142
| | | |
* | | | examples: Don't print weird charactersVicent Marti2013-04-101-2/+1
| | | |
* | | | Merge pull request #1460 from arrbee/fix-dirty-submodules-diffVicent Martí2013-04-099-17/+224
|\ \ \ \ | | | | | | | | | | Submodule diff tests and fixes
| * | | | Tests and more fixes for submodule diffsRussell Belfer2013-04-095-8/+205
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds tests for diffs with submodules in them and (perhaps unsurprisingly) requires further fixes to be made. Specifically, this fixes: - when considering if a submodule is dirty in the workdir, it was being treated as dirty even if only the index was dirty. - git_diff_patch_to_str (and git_diff_patch_print) were "printing" the headers for files (and submodules) that were unmodified or had no meaningful content. - added comment to previous fix and removed unneeded parens.
| * | | | Fix clang warnings and improve checksRussell Belfer2013-04-094-10/+19
| | | | |
| * | | | Fix submodule dirty states not showing if submodules comes before files, or ↵Linquize2013-04-091-1/+2
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | there are only dirty submodules but no changed files GIT_DIFF_PATCH_DIFFABLE was not set, so the diff content was not shown When submodule is dirty, the hash may be the same, but the length is different because -dirty is appended We can therefore compare the length or hash
* | | | Merge pull request #1458 from maxpow4h/patch-1Vicent Martí2013-04-081-1/+1
|\ \ \ \ | |_|_|/ |/| | | Updated link to Haskell bindings
| * | | Updated link to Haskell bindingsMaxwell Swadling2013-04-091-1/+1
|/ / / | | | | | | The old one hasn't been updated in a long time. This one is current.
* | | test: Add missing NULLsVicent Marti2013-04-071-1/+1
| | |
* | | Merge remote-tracking branch 'gnprice/revwalk' into developmentVicent Marti2013-04-079-15/+363
|\ \ \
| * | | examples: a test, for rev-listGreg Price2013-04-061-0/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This test file could probably be improved by a framework like the one in git.git:t/, or by using a language like Python instead of shell. The other examples would benefit from tests too. Probably best to settle on a framework to write them in, then add more tests. Signed-off-by: Greg Price <price@mit.edu>
| * | | examples: rev-listGreg Price2013-04-062-0/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This demonstrates parts of the interface for specifying revisions that Git users are familiar with from 'git rev-list', 'git log', and other Git commands. A similar query interface is used in out-of-core command-line programs that browse a Git repo (like 'tig'), and may be useful for an 'advanced search' interface in GUI or web applications. In this version, we parse all the query modifiers we can support with the existing logic in revwalk: basic include/exclude commits, and the ordering flags. More logic will be required to support '--grep', '--author', the pickaxe '-S', etc. Signed-off-by: Greg Price <price@mit.edu>
| * | | revwalk: Parse revision rangesGreg Price2013-04-063-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | All the hard work is already in revparse. Signed-off-by: Greg Price <price@mit.edu>