This project is mirrored from https://github.com/git/git.git.
Pull mirroring updated .
- 15 Jul, 2020 4 commits
-
-
The `--bisect-autostart` subcommand is no longer used from the git-bisect.sh shell script. Instead the function `bisect_autostart()` is directly called from the C implementation. Mentored-by:
Lars Schneider <larsxschneider@gmail.com> Mentored-by:
Christian Couder <chriscool@tuxfamily.org> Mentored-by:
Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by:
Pranit Bauva <pranit.bauva@gmail.com> Signed-off-by:
Tanushree Tumane <tanushreetumane@gmail.com> Signed-off-by:
Miriam Rubio <mirucam@gmail.com>
-
The `--write-terms` subcommand is no longer used from the git-bisect.sh shell script. Instead the function `write_terms()` is called from the C implementation of `set_terms()` and `bisect_start()`. Mentored-by:
Lars Schneider <larsxschneider@gmail.com> Mentored-by:
Christian Couder <chriscool@tuxfamily.org> Mentored-by:
Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by:
Pranit Bauva <pranit.bauva@gmail.com> Signed-off-by:
Tanushree Tumane <tanushreetumane@gmail.com> Signed-off-by:
Miriam Rubio <mirucam@gmail.com>
-
The `--check-expected-revs` subcommand is no longer used from the git-bisect.sh shell script. Functions `check_expected_revs` and `is_expected_revs` are also deleted. Mentored-by:
Lars Schneider <larsxschneider@gmail.com> Mentored-by:
Christian Couder <chriscool@tuxfamily.org> Mentored-by:
Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by:
Pranit Bauva <pranit.bauva@gmail.com> Signed-off-by:
Tanushree Tumane <tanushreetumane@gmail.com> Signed-off-by:
Miriam Rubio <mirucam@gmail.com>
-
Reimplement the `bisect_state()` shell functions in C and also add a subcommand `--bisect-state` to `git-bisect--helper` to call them from git-bisect.sh . Using `--bisect-state` subcommand is a temporary measure to port shell function to C so as to use the existing test suite. As more functions are ported, this subcommand will be retired and will be called by some other methods. `bisect_head()` is only called from `bisect_state()`, thus it is not required to introduce another subcommand. Mentored-by:
Lars Schneider <larsxschneider@gmail.com> Mentored-by:
Christian Couder <chriscool@tuxfamily.org> Mentored-by:
Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by:
Pranit Bauva <pranit.bauva@gmail.com> Signed-off-by:
Tanushree Tumane <tanushreetumane@gmail.com> Signed-off-by:
Miriam Rubio <mirucam@gmail.com>
-
- 13 Jul, 2020 7 commits
-
-
The `--next-all` subcommand is no longer used from the git-bisect.sh shell script. Instead the function `bisect_next_all()` is called from the C implementation of `bisect_next()`. Mentored-by:
Lars Schneider <larsxschneider@gmail.com> Mentored-by:
Christian Couder <chriscool@tuxfamily.org> Signed-off-by:
Pranit Bauva <pranit.bauva@gmail.com> Signed-off-by:
Tanushree Tumane <tanushreetumane@gmail.com> Signed-off-by:
Miriam Rubio <mirucam@gmail.com>
-
The `--bisect-clean-state` subcommand is no longer used from the git-bisect.sh shell script. Instead the function `bisect_clean_state()` is directly called from the C implementation. Mentored-by:
Lars Schneider <larsxschneider@gmail.com> Mentored-by:
Christian Couder <chriscool@tuxfamily.org> Signed-off-by:
Pranit Bauva <pranit.bauva@gmail.com> Signed-off-by:
Tanushree Tumane <tanushreetumane@gmail.com> Signed-off-by:
Miriam Rubio <mirucam@gmail.com>
-
Add the subcommand to `git bisect--helper` and call it from git-bisect.sh. With the conversion of `bisect_auto_next()` from shell to C in a previous commit, `bisect_start()` can now be fully ported to C. So let's complete the `--bisect-start` subcommand of `git bisect--helper` so that it fully implements `bisect_start()`, and let's use this subcommand in `git-bisect.sh` instead of `bisect_start()`. Mentored-by:
Christian Couder <chriscool@tuxfamily.org> Mentored-by:
Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by:
Pranit Bauva <pranit.bauva@gmail.com> Signed-off-by:
Tanushree Tumane <tanushreetumane@gmail.com> Signed-off-by:
Miriam Rubio <mirucam@gmail.com>
-
Reimplement the `bisect_next()` and the `bisect_auto_next()` shell functions in C and add the subcommands to `git bisect--helper` to call them from git-bisect.sh . bisect_auto_next() function returns an enum bisect_error type as whole `git bisect` can exit with an error code when bisect_next() does. Using `--bisect-next` and `--bisect-auto-next` subcommands is a temporary measure to port shell function to C so as to use the existing test suite. As more functions are ported, `--bisect-auto-next` subcommand will be retired and will be called by some other methods. Mentored-by:
Lars Schneider <larsxschneider@gmail.com> Mentored-by:
Christian Couder <chriscool@tuxfamily.org> Mentored-by:
Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by:
Pranit Bauva <pranit.bauva@gmail.com> Signed-off-by:
Tanushree Tumane <tanushreetumane@gmail.com> Signed-off-by:
Miriam Rubio <mirucam@gmail.com>
-
mirucam authored
As there can be other revision walks after bisect_next_all(), let's add a call to a function to clear all the marks at the end of bisect_next_all(). Mentored-by:
Christian Couder <chriscool@tuxfamily.org> Signed-off-by:
Miriam Rubio <mirucam@gmail.com>
-
Reimplement the `bisect_autostart()` shell function in C and add the C implementation from `bisect_next()` which was previously left uncovered. Add `--bisect-autostart` subcommand to be called from git-bisect.sh. Using `--bisect-autostart` subcommand is a temporary measure to port the shell function to C so as to use the existing test suite. As more functions are ported, this subcommand will be retired and bisect_autostart() will be called directly by `bisect_state()`. Mentored-by:
Lars Schneider <larsxschneider@gmail.com> Mentored-by:
Christian Couder <chriscool@tuxfamily.org> Mentored-by:
Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by:
Pranit Bauva <pranit.bauva@gmail.com> Signed-off-by:
Tanushree Tumane <tanushreetumane@gmail.com> Signed-off-by:
Miriam Rubio <mirucam@gmail.com>
-
mirucam authored
Let's refactor code adding a new `write_in_file()` function that opens a file for writing a message and closes it and a wrapper for writing mode. This helper will be used in later steps and makes the code simpler and easier to understand. Mentored-by:
Christian Couder <chriscool@tuxfamily.org> Mentored-by:
Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by:
Miriam Rubio <mirucam@gmail.com>
-
- 30 Jun, 2020 2 commits
-
-
mirucam authored
Following 'enum bisect_error' vocabulary, return variable 'res' is always non-positive. Let's use '-res' instead of 'abs(res)' to make the code clearer. Mentored-by:
Christian Couder <chriscool@tuxfamily.org> Signed-off-by:
Miriam Rubio <mirucam@gmail.com> Helped-by:
Junio C Hamano <gitster@pobox.com>
-
mirucam authored
In cmd_bisect__helper() function, there would be a bug if an invalid or no subcommand was passed.return error() should be replaced by BUG() in that case. Mentored-by:
Christian Couder <chriscool@tuxfamily.org> Mentored-by:
Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by:
Miriam Rubio <mirucam@gmail.com>
-
- 25 Jun, 2020 10 commits
-
-
Junio C Hamano authored
Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
Junio C Hamano authored
A branch name used in a test has been clarified to match what is going on. * pb/t4014-unslave: t4014: do not use "slave branch" nomenclature
-
Junio C Hamano authored
The "fetch/clone" protocol has been updated to allow the server to instruct the clients to grab pre-packaged packfile(s) in addition to the packed object data coming over the wire. * jt/cdn-offload: upload-pack: fix a sparse '0 as NULL pointer' warning upload-pack: send part of packfile response as uri fetch-pack: support more than one pack lockfile upload-pack: refactor reading of pack-objects out Documentation: add Packfile URIs design doc Documentation: order protocol v2 sections http-fetch: support fetching packfiles by URL http-fetch: refactor into function http: refactor finish_http_pack_request() http: use --stdin when indexing dumb HTTP pack
-
Junio C Hamano authored
Rewrite of parts of the scripted "git submodule" Porcelain command continues; this time it is "git submodule set-branch" subcommand's turn. * ss/submodule-set-branch-in-c: submodule: port subcommand 'set-branch' from shell to C
-
Junio C Hamano authored
"git merge-base --is-ancestor" is taught to take advantage of the commit graph. * ds/merge-base-is-ancestor-optim: commit-reach: use fast logic in repo_in_merge_base commit-reach: create repo_is_descendant_of()
-
Junio C Hamano authored
Code clean-up around "git branch" with a minor bugfix. * dl/branch-cleanup: branch: don't mix --edit-description t3200: test for specific errors t3200: rename "expected" to "expect"
-
Junio C Hamano authored
Code clean-up in the codepath that serves "git fetch" continues. * cc/upload-pack-data-3: upload-pack: refactor common code into do_got_oid() upload-pack: move oldest_have to upload_pack_data upload-pack: pass upload_pack_data to got_oid() upload-pack: pass upload_pack_data to ok_to_give_up() upload-pack: pass upload_pack_data to send_acks() upload-pack: pass upload_pack_data to process_haves() upload-pack: change allow_unadvertised_object_request to an enum upload-pack: move allow_unadvertised_object_request to upload_pack_data upload-pack: move extra_edge_obj to upload_pack_data upload-pack: move shallow_nr to upload_pack_data upload-pack: pass upload_pack_data to send_unshallow() upload-pack: pass upload_pack_data to deepen_by_rev_list() upload-pack: pass upload_pack_data to deepen() upload-pack: pass upload_pack_data to send_shallow_list()
-
Junio C Hamano authored
"git diff" used to take arguments in random and nonsense range notation, e.g. "git diff A..B C", "git diff A..B C...D", etc., which has been cleaned up. * ct/diff-with-merge-base-clarification: Documentation: usage for diff combined commits git diff: improve range handling t/t3430: avoid undefined git diff behavior
-
Junio C Hamano authored
Code clean-up of "git clean" resulted in a fix of recent performance regression. * en/clean-cleanups: clean: optimize and document cases where we recurse into subdirectories clean: consolidate handling of ignored parameters dir, clean: avoid disallowed behavior dir: fix a few confusing comments
-
Junio C Hamano authored
The command line completion (in contrib/) learned to complete options that the "git switch" command takes. * jk/complete-git-switch: completion: improve handling of --orphan option of switch/checkout completion: improve handling of -c/-C and -b/-B in switch/checkout completion: improve handling of --track in switch/checkout completion: improve handling of --detach in checkout completion: improve completion for git switch with no options completion: improve handling of DWIM mode for switch/checkout completion: perform DWIM logic directly in __git_complete_refs completion: extract function __git_dwim_remote_heads completion: replace overloaded track term for __git_complete_refs completion: add tests showing subpar switch/checkout --orphan logic completion: add tests showing subpar -c/C argument completion completion: add tests showing subpar -c/-C startpoint completion completion: add tests showing subpar switch/checkout --track logic completion: add tests showing subar checkout --detach logic completion: add tests showing subpar DWIM logic for switch/checkout completion: add test showing subpar git switch completion
-
- 22 Jun, 2020 5 commits
-
-
Junio C Hamano authored
Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
Junio C Hamano authored
The effect of sparse checkout settings on submodules is documented. * en/sparse-with-submodule-doc: git-sparse-checkout: clarify interactions with submodules
-
Junio C Hamano authored
The same worktree directory must be registered only once, but "git worktree move" allowed this invariant to be violated, which has been corrected. * es/worktree-duplicate-paths: worktree: make "move" refuse to move atop missing registered worktree worktree: generalize candidate worktree path validation worktree: prune linked worktree referencing main worktree path worktree: prune duplicate entries referencing same worktree path worktree: make high-level pruning re-usable worktree: give "should be pruned?" function more meaningful name worktree: factor out repeated string literal
-
Junio C Hamano authored
The interface to redact sensitive information in the trace output has been simplified. * jt/redact-all-cookies: http: redact all cookies, teach GIT_TRACE_REDACT=0
-
Junio C Hamano authored
Further code clean-up. * cc/upload-pack-data-2: upload-pack: move pack_objects_hook to upload_pack_data upload-pack: move allow_sideband_all to upload_pack_data upload-pack: move allow_ref_in_want to upload_pack_data upload-pack: move allow_filter to upload_pack_data upload-pack: move keepalive to upload_pack_data upload-pack: pass upload_pack_data to upload_pack_config() upload-pack: change multi_ack to an enum upload-pack: move multi_ack to upload_pack_data upload-pack: move filter_capability_requested to upload_pack_data upload-pack: move use_sideband to upload_pack_data upload-pack: move static vars to upload_pack_data upload-pack: annotate upload_pack_data fields upload-pack: actually use some upload_pack_data bitfields
-
- 19 Jun, 2020 1 commit
-
-
Paolo Bonzini authored
Git branches have been qualified as topic branches, integration branches, development branches, feature branches, release branches and so on. Git has a branch that is the master *for* development, but it is not the master *of* any "slave branch": Git does not have slave branches, and has never had, except for a single testcase that claims otherwise. :) Independent of any future change to the naming of the "master" branch, removing this sole appearance of the term is a strict improvement: it avoids divisive language, and talking about "feature branch" clarifies which developer workflow the test is trying to emulate. Reported-by:
Till Maas <tmaas@redhat.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
- 18 Jun, 2020 11 commits
-
-
Junio C Hamano authored
Also let's update the DEF_VER in GIT-VERSION-GEN that presuably is not looked at by anybody ;-) Signed-off-by:
Junio C Hamano <gitster@pobox.com>
-
Junio C Hamano authored
Doc updates. * es/advertise-contribution-doc: docs: mention MyFirstContribution in more places
-
Junio C Hamano authored
Document that we do not support Python 2.6 or older. * dl/python-2.7-is-the-floor-version: CodingGuidelines: specify Python 2.7 is the oldest version
-
Junio C Hamano authored
Doc updates. * dl/t-readme-spell-git-correctly: t/README: avoid poor-man's small caps GIT
-
Junio C Hamano authored
Leakfix. * js/fuzz-commit-graph-leakfix: fuzz-commit-graph: properly free graph struct
-
Junio C Hamano authored
Use of negative pathspec, while collecting paths including untracked ones in the working tree, was broken. * en/do-match-pathspec-fix: dir: fix treatment of negated pathspecs
-
Junio C Hamano authored
Workaround breakage in MSVC build, where "curl-config --cflags" gives settings appropriate for GCC build. * js/msvc-build-fix: msvc: fix "REG_STARTEND" issue
-
Junio C Hamano authored
The behaviour of "sparse-checkout" in the state "git clone --no-checkout" left was changed accidentally in 2.27, which has been corrected. * en/sparse-checkout: sparse-checkout: avoid staging deletions of all files
-
Junio C Hamano authored
The reflog entries for "git clone" and "git fetch" did not anonymize the URL they operated on. * js/reflog-anonymize-for-clone-and-fetch: clone/fetch: anonymize URLs in the reflog
-
Junio C Hamano authored
Code cleanup. * tb/t5318-cleanup: t5318: test that '--stdin-commits' respects '--[no-]progress' t5318: use 'test_must_be_empty'
-
Junio C Hamano authored
Reduce memory usage during "diff --quiet" in a worktree with too many stat-unmatched paths. * jk/diff-memuse-optim-with-stat-unmatch: diff: discard blob data from stat-unmatched pairs
-