summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge pull request #925 from nulltoken/topic/moving-branch-updates-configRussell Belfer2012-10-258-30/+549
|\ \ \ | | | | | | | | Updates config upon moving and deletion of branches
| * | | remote: introduce git_remote_rename()nulltoken2012-10-251-0/+285
| | | |
| * | | buf: introduce git_buf_splice()nulltoken2012-10-252-0/+53
| | | |
| * | | refspec: introduce git_refspec__serialize()nulltoken2012-10-253-7/+17
| | | |
| * | | remote: remove some code duplicationnulltoken2012-10-251-27/+48
| | | |
| * | | remote: prevent from saving a nameless remotenulltoken2012-10-251-0/+29
| | | |
| * | | config: introduce git_config_rename_section()nulltoken2012-10-253-87/+113
| | | |
| * | | branch: rename config section upon movingnulltoken2012-10-251-12/+58
| | | |
| * | | branch: remove config section upon deletionnulltoken2012-10-251-0/+49
| | | |
* | | | config: Only dereference value on successVicent Marti2012-10-251-1/+1
| | | |
* | | | Remove inline hintBen Straub2012-10-251-1/+1
| | | |
* | | | Fix Windows buildBen Straub2012-10-251-1/+1
| | | | | | | | | | | | | | | | Pedantic ordering of GIT_UNUSED vs. variable declarations.
* | | | Merge pull request #990 from ben/clone-callbacksVicent Martí2012-10-2513-106/+186
|\ \ \ \ | |/ / / |/| | | Progress callbacks
| * | | Remove 'bytes' param from git_remote_downloadBen Straub2012-10-245-18/+8
| | | |
| * | | Network progress: rename thingsBen Straub2012-10-248-40/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | git_indexer_stats and friends -> git_transfer_progress* Also made git_transfer_progress members more sanely named.
| * | | Improve clone sample's formattingBen Straub2012-10-191-1/+2
| | | |
| * | | Checkout progress now reports completed/total stepsBen Straub2012-10-191-14/+14
| | | |
| * | | Remove third stage from checkout progress reportingBen Straub2012-10-191-12/+8
| | | | | | | | | | | | | | | | | | | | Also, now only reporting checkout progress for files that are actually being added or removed.
| * | | gitno_buffer: callback on each packetBen Straub2012-10-194-1/+39
| | | | | | | | | | | | | | | | | | | | The fetch code takes advantage of this to implement a progress callback every 100kb of transfer.
| * | | Indexing progress now goes to 100%Ben Straub2012-10-191-0/+1
| | | |
| * | | Correct progress reporting from checkoutBen Straub2012-10-191-8/+35
| | | |
| * | | Adjust for rebaseBen Straub2012-10-191-2/+0
| | | |
| * | | 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-195-10/+50
| | | |
| * | | index: remove read_tree() progress indicatornulltoken2012-10-193-15/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git_index_read_tree() was exposing a parameter to provide the user with a progress indicator. Unfortunately, due to the recursive nature of the tree walk, the maximum number of items to process was unknown. Thus, the indicator was only counting processed entries, without providing any information how the number of remaining items.
| * | | Remove dead codeBen Straub2012-10-191-1/+0
| | | |
| * | | Remove checkout_stats from git_cloneBen Straub2012-10-191-4/+0
| | | |
| * | | Convert checkout_* to use progress callbackBen Straub2012-10-192-6/+4
| | | |
| * | | Convert checkout_index to use progress callbackBen Straub2012-10-193-23/+12
| | | |
| * | | Add accessor for git_remote's stats fieldBen Straub2012-10-191-0/+6
| | | | | | | | | | | | | | | | Also converted the network example to use it.
| * | | Add git_indexer_stats field to git_remoteBen Straub2012-10-195-8/+9
| | | | | | | | | | | | | | | | | | | | Also removing all the *stats parameters from external APIs that don't need them anymore.
* | | | GIT_EUNMERGEDEdward Thomson2012-10-241-0/+1
| | | |
* | | | reset changes for mergeEdward Thomson2012-10-245-4/+106
| |/ / |/| |
* | | Merge pull request #1012 from carlosmn/libcrypto-shaVicent Martí2012-10-232-0/+7
|\ \ \ | |_|/ |/| | Use libcrypto's SHA-1 implementation when linking to it
| * | Use libcrypto's SHA-1 implementation when linking to itCarlos Martín Nieto2012-10-232-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libcryto's SHA-1 implementation is measurably better than the one that ships with the library. If we link to it for HTTPS support already, use that implementation instead. Testing on a ~600MB of the linux repository, this reduces indexing time by 40% and removes the hashing from the top spot in the perf output.
* | | Add config level support in the config APIyorah2012-10-237-237/+397
| | | | | | | | | | | | | | | | | | | | | Added `struct git_config_entry`: a git_config_entry contains the key, the value, and the config file level from which a config element was found. Added `git_config_open_level`: build a single-level focused config object from a multi-level one. We are now storing `git_config_entry`s in the khash of the config_file
* | | Fix adding variable to config file with no trailing newlineyorah2012-10-231-0/+4
| | | | | | | | | | | | This can occur after a manual modification of a config file.
* | | Merge pull request #963 from carlosmn/remote-save-autotagVicent Martí2012-10-221-0/+39
|\ \ \ | | | | | | | | Save the autotag configuration for remotes
| * | | remote: don't auto-follow tags on an unamed remoteCarlos Martín Nieto2012-10-021-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An unnamed remote is used for commands like git fetch git://host/repo where no tags should be downloaded. Make this the default.
| * | | remote: set/unset the autotag setting on saveCarlos Martín Nieto2012-10-021-0/+34
| | | | | | | | | | | | | | | | | | | | Make the configuration option match the configured behavior when saving a remote.
* | | | Merge pull request #1004 from nulltoken/error/GIT_EORPHANEDHEADVicent Martí2012-10-221-6/+40
|\ \ \ \ | | | | | | | | | | More orphaned head love
| * | | | reset: make git_reset() cope with an orphaned HEADnulltoken2012-10-221-6/+40
| | |_|/ | |/| |
* | | | blob: do not create temp files in the current pathnulltoken2012-10-221-1/+10
|/ / / | | | | | | | | | | | | | | | | | | - make sure temporary streamed blobs are created under the .git/objects folder and not in the current path, whatever it is. - do not make the name of the temp file depend on the hintpath.
* | | Merge pull request #1003 from arrbee/fix-test-core-envPhilip Kelley2012-10-191-30/+25
|\ \ \ | | | | | | | | Fix env variable tests with new Win32 path rules
| * | | Fix env variable tests with new Win32 path rulesRussell Belfer2012-10-191-30/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new Win32 global path search was not working with the environment variable tests. But when I fixed the test, the new codes use of getenv() was causing more failures (presumably because of caching on Windows ???). This fixes the global file lookup to always go directly to the Win32 API in a predictable way.
* | | | errors: deploy GIT_EORPHANEDHEAD usagenulltoken2012-10-193-12/+22
| | | |
* | | | branch: allow deletion of branch when HEAD's missingnulltoken2012-10-191-1/+7
|/ / /
* | | diff: workdir diffing in a bare repo returns EBAREREPOnulltoken2012-10-181-6/+10
| | |
* | | revparse: properly handle refnames containing a @nulltoken2012-10-181-10/+14
| | | | | | | | | | | | Fix #994