summaryrefslogtreecommitdiff
path: root/src/clone.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Include checkout options inlineBen Straub2013-01-021-2/+5
|
* Rename remote creation APIsBen Straub2012-12-201-1/+1
| | | | git_remote_add -> git_remote_create git_remote_new -> git_remote_create_inmemory
* Initialize variableBen Straub2012-12-191-2/+2
|
* Clone: trust but verifyBen Straub2012-12-191-0/+3
|
* Add more clone options. Push test suite segfaults.Ben Straub2012-12-191-47/+78
|
* Move non-options back out of options structBen Straub2012-12-141-5/+12
|
* Deploy git_clone_options; remove git_clone_bareBen Straub2012-12-141-34/+10
|
* Stop premature remote freeing when cloningBen Straub2012-12-131-1/+0
|
* Convert clone to use dangling remotesBen Straub2012-12-121-12/+11
|
* API updates for remote.hBen Straub2012-11-271-1/+1
| | | | | Includes typedef for git_direction, and renames for GIT_DIR_[FETCH|PUSH] to GIT_DIRECTION_(\1).
* More external API cleanupVicent Marti2012-11-271-5/+5
| | | | | | Conflicts: src/branch.c tests-clar/refs/branches/create.c
* Rename ref and reflog apis for consistencyBen Straub2012-11-271-1/+1
|
* Merge pull request #1016 from arrbee/fix-checkout-dir-removalVicent Martí2012-11-131-1/+1
|\ | | | | Update checkout with new strategies & behavior
| * Extensions to rmdir and mkdir utilitiesRussell Belfer2012-11-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | * Rework GIT_DIRREMOVAL values to GIT_RMDIR flags, allowing combinations of flags * Add GIT_RMDIR_EMPTY_PARENTS flag to remove parent dirs that are left empty after removal * Add GIT_MKDIR_VERIFY_DIR to give an error if item is a file, not a dir (previously an EEXISTS error was ignored, even for files) and enable this flag for git_futils_mkpath2file call * Improve accuracy of error messages from git_futils_mkdir
* | create FETCH_HEAD specially instead of as a ref fileEdward Thomson2012-11-111-0/+6
|/
* Reorganize transport architecture (squashed 3)Philip Kelley2012-11-011-4/+16
|
* Remove 'bytes' param from git_remote_downloadBen Straub2012-10-241-2/+1
|
* Network progress: rename thingsBen Straub2012-10-241-4/+4
| | | | | | | git_indexer_stats and friends -> git_transfer_progress* Also made git_transfer_progress members more sanely named.
* Clone: in-line callbacks for progressBen Straub2012-10-191-11/+18
| | | | Also implemented in the git2 example.
* Fix clone.c's indentationBen Straub2012-10-191-9/+11
|
* Fetch/indexer: progress callbacksBen Straub2012-10-191-1/+1
|
* Remove checkout_stats from git_cloneBen Straub2012-10-191-4/+0
|
* Convert checkout_* to use progress callbackBen Straub2012-10-191-1/+1
|
* Convert checkout_index to use progress callbackBen Straub2012-10-191-7/+2
|
* Add git_indexer_stats field to git_remoteBen Straub2012-10-191-1/+1
| | | | | Also removing all the *stats parameters from external APIs that don't need them anymore.
* Merge pull request #968 from arrbee/diff-support-typechangeRussell Belfer2012-10-171-1/+1
|\ | | | | Support TYPECHANGE records in status and adjust checkout accordingly
| * Add complex checkout test and then fix checkoutRussell Belfer2012-10-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This started as a complex new test for checkout going through the "typechanges" test repository, but that revealed numerous issues with checkout, including: * complete failure with submodules * failure to create blobs with exec bits * problems when replacing a tree with a blob because the tree "example/" sorts after the blob "example" so the delete was being processed after the single file blob was created This fixes most of those problems and includes a number of other minor changes that made it easier to do that, including improving the TYPECHANGE support in diff/status, etc.
* | clone: fix detection of remote HEADnulltoken2012-10-151-1/+4
| |
* | clone: Explicit support of no-checkout optionnulltoken2012-10-151-2/+15
|/
* Fix compiler warningsMichael Schubert2012-10-091-1/+1
| | | | | * tests-clar/status: remove an unused variable * clone: fix -Wmaybe-uninitialized warning
* clone: fix cloning of empty repositorynulltoken2012-10-081-42/+105
|
* clone: leverage refspec transformnulltoken2012-10-081-19/+74
|
* clone: align type casing with conventionnulltoken2012-10-081-8/+8
|
* clone: deploy git_repository_set_head() usagenulltoken2012-10-071-15/+20
|
* remote: use constants for well-known namesnulltoken2012-10-071-2/+2
|
* refs: use constants for well-known namesnulltoken2012-10-071-4/+4
|
* checkout: introduce git_checkout_tree()nulltoken2012-09-171-2/+1
|
* Remove unnecessary includeRussell Belfer2012-09-141-4/+0
| | | | | I don't think clone.c needs in #include dirent.h and it is not portable, so let's just get rid of it.
* checkout: cleanup misplaced declarationnulltoken2012-09-061-7/+0
|
* Clean up a TODO comment.Ben Straub2012-08-011-1/+0
|
* Checkout: add head- and ref-centric checkouts.Ben Straub2012-07-271-19/+2
| | | | | | | | | Renamed git_checkout_index to what it really was, and removed duplicate code from clone.c. Added git_checkout_ref, which updates HEAD and hands off to git_checkout_head. Added tests for the options the caller can pass to git_checkout_*.
* Adjust for msvc pedantry.Ben Straub2012-07-271-1/+2
|
* Fix mismatched git_branch_create args.Ben Straub2012-07-271-3/+4
|
* Use new git_remote_update_tips signature.Ben Straub2012-07-271-1/+1
|
* Restructure for better checkout optionsBen Straub2012-07-261-1/+2
| | | | | | * Removed the #define for defaults * Promoted progress structure to top-level API call argument
* checkout: introduce git_checkout_optsBen Straub2012-07-261-11/+14
| | | | | Refactor checkout into several more-sensible entry points, which consolidates common options into a single structure that may be passed around.
* Add git_path_is_empty_dir.Ben Straub2012-07-111-42/+2
|
* Add git_path_is_dot_or_dotdot.Ben Straub2012-07-111-8/+2
| | | | Also, remove some duplication in the clone test suite.
* Reindent.Ben Straub2012-07-101-2/+0
|
* Tabify.Ben Straub2012-07-091-212/+212
|