What's cooking (2020/01 #04)

This commit is contained in:
Junio C Hamano
2020-01-22 14:13:42 -08:00
parent a6f7e77243
commit d5bf2f5c77

View File

@@ -1,10 +1,10 @@
To: git@vger.kernel.org
Bcc: lwn@lwn.net
Subject: What's cooking in git.git (Jan 2020, #03; Mon, 6)
X-master-at: 042ed3e048af08014487d19196984347e3be7d1c
X-next-at: 4be2e8caa8c47dbdd529c8bfc969f20ba90d340b
Subject: What's cooking in git.git (Jan 2020, #04; Wed, 22)
X-master-at: 232378479ee6c66206d47a9be175e3a39682aea6
X-next-at: 3f081b084b0e55662871946d66dab3696a46a22a
What's cooking in git.git (Jan 2020, #03; Mon, 6)
What's cooking in git.git (Jan 2020, #04; Wed, 22)
--------------------------------------------------
Here are the topics that have been cooking. Commits prefixed with
@@ -12,8 +12,9 @@ Here are the topics that have been cooking. Commits prefixed with
'+' are in 'next'. The ones marked with '.' do not appear in any of
the integration branches, but I am still holding onto them.
After the topics marked to be merged to 'master' go in, the tip of
the master will hopefully be very close to the final release.
Git 2.25 is out. The tip of 'next' has been rewound and a handful
of topics have been rebased to avoid the premature merge of
ra/rebase-i-more-options which has been reverted.
You can find the changes described here in the integration branches
of the repositories listed at
@@ -23,88 +24,361 @@ of the repositories listed at
--------------------------------------------------
[Graduated to "master"]
* ds/commit-graph-set-size-mult (2020-01-02) 1 commit
(merged to 'next' on 2020-01-04 at 71ea739a6c)
+ commit-graph: prefer default size_mult when given zero
* do/gitweb-typofix-in-comments (2020-01-04) 1 commit
(merged to 'next' on 2020-01-06 at 66ce6539c4)
+ gitweb: fix a couple spelling errors in comments
The code to write split commit-graph file(s) upon fetching computed
bogus value for the parameter used in splitting the resulting
files, which has been corrected.
Typofix.
* ds/sparse-cone (2020-01-04) 2 commits
(merged to 'next' on 2020-01-04 at cc4b6fbb41)
+ Documentation/git-sparse-checkout.txt: fix a typo
+ sparse-checkout: use extern for global variables
* ds/graph-assert-fix (2020-01-08) 2 commits
(merged to 'next' on 2020-01-08 at 4b896fb9b5)
+ graph: fix lack of color in horizontal lines
+ graph: drop assert() for merge with two collapsing parents
(this branch is used by ds/graph-horizontal-edges.)
Code cleanup.
Since recent updates to the log graph rendering code, drawing
certain merges started triggering an assert on a condition that
would no longer hold true, which has been corrected.
* ds/sparse-list-in-cone-mode (2019-12-30) 2 commits
(merged to 'next' on 2020-01-04 at e1a174647e)
+ sparse-checkout: document interactions with submodules
+ sparse-checkout: list directories in cone mode
* jb/doc-multi-pack-idx-fix (2020-01-04) 1 commit
(merged to 'next' on 2020-01-06 at f19f7d1016)
+ multi-pack-index: correct configuration in documentation
"git sparse-checkout list" subcommand learned to give its output in
a more concise form when the "cone" mode is in effect.
Typofix.
* en/merge-recursive-oid-eq-simplify (2020-01-02) 1 commit
(merged to 'next' on 2020-01-04 at 623ecf4f16)
+ merge-recursive: remove unnecessary oid_eq function
* js/mingw-loosen-overstrict-tree-entry-checks (2020-01-10) 1 commit
(merged to 'next' on 2020-01-10 at f43f0fe74b)
+ mingw: safeguard better against backslashes in file names
Code cleanup.
Further tweak to a "no backslash in indexed paths" for Windows port
we applied earlier.
* ew/packfile-syscall-optim (2019-12-26) 2 commits
(merged to 'next' on 2019-12-30 at ada15abf22)
+ packfile: replace lseek+read with pread
+ packfile: remove redundant fcntl F_GETFD/F_SETFD
* ma/config-advice-markup-fix (2020-01-08) 1 commit
(merged to 'next' on 2020-01-09 at 1c4b540795)
+ config/advice.txt: fix description list separator
Code cleanup.
Documentation markup fix.
* js/mingw-loosen-overstrict-tree-entry-checks (2020-01-02) 1 commit
(merged to 'next' on 2020-01-02 at 3088a0ccf1)
+ mingw: only test index entries for backslashes, not tree entries
An earlier update to Git for Windows declared that a tree object is
invalid if it has a path component with backslash in it, which was
overly strict, which has been corrected. The only protection the
Windows users need is to prevent such path (or any path that their
filesystem cannot check out) from entering the index.
* pb/clarify-line-log-doc (2019-12-26) 2 commits
(merged to 'next' on 2019-12-30 at 7a4e15a436)
+ doc: log, gitk: line-log arguments must exist in starting revision
+ doc: log, gitk: document accepted line-log diff formats
* pm/am-in-body-header-doc-update (2020-01-04) 1 commit
(merged to 'next' on 2020-01-06 at 73b0a3a49c)
+ am: document that Date: can appear as an in-body header
Doc update.
* tm/doc-submodule-absorb-fix (2020-01-06) 1 commit
(merged to 'next' on 2020-01-07 at cee89422db)
+ doc: submodule: fix typo for command absorbgitdirs
Typofix.
--------------------------------------------------
[New Topics]
* hi/indent-text-with-tabs-in-editorconfig (2020-01-06) 1 commit
- editorconfig: indent text files with tabs
* en/simplify-check-updates-in-unpack-trees (2020-01-07) 1 commit
(merged to 'next' on 2020-01-15 at 586c055b69)
+ unpack-trees: exit check_updates() early if updates are not wanted
Tell .editorconfig that in this project, *.txt files are indented
with tabs.
Originally merged to 'next' on 2020-01-09
Code simplification.
Will merge to 'master'.
* jn/pretend-object-doc (2020-01-06) 1 commit
- sha1-file: document how to use pretend_object_file
* en/string-list-can-be-custom-sorted (2020-01-07) 1 commit
(merged to 'next' on 2020-01-15 at 2afe9536e6)
+ string-list: note in docs that callers can specify sorting function
Warn programmers about pretend_object_file() that allows the code
to tentatively use in-core objects.
Originally merged to 'next' on 2020-01-09
API-doc update.
Will merge to 'master'.
* tm/doc-submodule-absorb-fix (2020-01-06) 1 commit
- doc: submodule: fix typo for command absorbgitdirs
* am/checkout-file-and-ref-ref-ambiguity (2020-01-07) 2 commits
- checkout: don't revert file on ambiguous tracking branches
- parse_branchname_arg(): extract part as new function
Typofix.
"git checkout X" did not correctly fail when X is not a local
branch but could name more than one remote-tracking branches
(i.e. to be dwimmed as the starting point to create a corresponding
local branch), which has been corrected.
Will merge to 'next' and then to 'master'.
Will merge to 'next'.
* am/update-pathspec-f-f-tests (2020-01-15) 2 commits
- t: directly test parse_pathspec_file()
- t: fix quotes tests for --pathspec-from-file
Test updates.
Will merge to 'next'.
* bc/run-command-nullness-after-free-fix (2020-01-07) 1 commit
(merged to 'next' on 2020-01-15 at 56b3148fee)
+ run-command: avoid undefined behavior in exists_in_PATH
Originally merged to 'next' on 2020-01-09
C pedantry ;-) fix.
Will merge to 'master'.
* kw/fsmonitor-watchman-racefix (2020-01-13) 4 commits
- fsmonitor: update documentation for hook version and watchman hooks
- fsmonitor: add fsmonitor hook scripts for version 2
- fsmonitor: handle version 2 of the hooks that will use opaque token
- fsmonitor: change last update timestamp on the index_state to opaque token
A new version of fsmonitor-watchman hook has been introduced, to
avoid races.
Will merge to 'next'.
* es/unpack-trees-oob-fix (2020-01-08) 1 commit
(merged to 'next' on 2020-01-15 at 832ecf4366)
+ unpack-trees: watch for out-of-range index position
Originally merged to 'next' on 2020-01-09
The code that tries to skip over the entries for the paths in a
single directory using the cache-tree was not careful enough
against corrupt index file.
Will merge to 'master'.
* hw/advice-add-nothing (2020-01-15) 1 commit
- add: use advise function to display hints
Two help messages given when "git add" notices the user gave it
nothing to add have been updated to use advise() API.
Will merge to 'next'.
* hw/tutorial-favor-switch-over-checkout (2020-01-08) 1 commit
(merged to 'next' on 2020-01-15 at 25e4fca9ec)
+ doc/gitcore-tutorial: fix prose to match example command
Originally merged to 'next' on 2020-01-09
Complete an update to tutorial that encourages "git switch" over
"git checkout" that was done only half-way.
Will merge to 'master'.
* jk/no-flush-upon-disconnecting-slrpc-transport (2020-01-08) 1 commit
(merged to 'next' on 2020-01-15 at 5014feacb0)
+ transport: don't flush when disconnecting stateless-rpc helper
Originally merged to 'next' on 2020-01-09
Reduce unnecessary round-trip when running "ls-remote" over the
stateless RPC mechanism.
Will merge to 'master'.
* nd/switch-and-restore (2020-01-08) 1 commit
(merged to 'next' on 2020-01-15 at ffd0b1e54e)
+ restore: invalidate cache-tree when removing entries with --staged
Originally merged to 'next' on 2020-01-09
"git restore --staged" did not correctly update the cache-tree
structure, resulting in bogus trees to be written afterwards, which
has been corrected.
Will merge to 'master'.
* ds/graph-horizontal-edges (2020-01-15) 2 commits
- graph: fix collapse of multiple edges
- graph: add test to demonstrate horizontal line bug
Rendering by "git log --graph" of ancestry lines leading to a merge
commit were made suboptimal to waste vertical space a bit with a
recent update, which has been corrected.
Will merge to 'next'.
* ds/sparse-cone (2020-01-10) 1 commit
- unpack-trees: correctly compute result count
The code recently added in this release to move to the entry beyond
the ones in the same directory in the index in the sparse-cone mode
did not count the number of entries to skip over incorrectly, which
has been corrected.
Will merge to 'next'.
* km/submodule-add-errmsg (2020-01-15) 1 commit
- submodule add: show 'add --dry-run' stderr when aborting
Improve error message generation for "git submodule add".
Will merge to 'next'.
* en/fill-directory-fixes-more (2020-01-16) 4 commits
- dir: point treat_leading_path() warning to the right place
- dir: restructure in a way to avoid passing around a struct dirent
- dir: treat_leading_path() and read_directory_recursive(), round 2
- clean: demonstrate a bug with pathspecs
Corner case bugs in "git clean" that stems from a (necessarily for
performance reasons) awkward calling convention in the directory
enumeration API has been corrected.
Will merge to 'next'.
* es/fetch-show-failed-submodules-atend (2020-01-17) 1 commit
- fetch: emphasize failure during submodule fetch
A fetch that is told to recursively fetch updates in submodules
inevitably produces reams of output, and it becomes hard to spot
error messages. The command has been taught to enumerate
submodules that had errors at the end of the operation.
Will merge to 'next'.
* jk/asan-build-fix (2020-01-16) 1 commit
- Makefile: use compat regex with SANITIZE=address
Work around test breakages caused by custom regex engine used in
libasan, when address sanitizer is used with more recent versions
of gcc and clang.
Will merge to 'next'.
* jk/test-fixes (2020-01-16) 2 commits
- t7800: don't rely on reuse_worktree_file()
- t4018: drop "debugging" cat from hunk-header tests
Test fixes.
Will merge to 'next'.
* js/builtin-add-i-cmds (2020-01-16) 2 commits
- built-in add -i: accept open-ended ranges again
- built-in add -i: do not try to `patch`/`diff` an empty list of files
Minor bugfixes to "git add -i" that has recently been rewritten in C.
Will merge to 'next'.
* rt/submodule-i18n (2020-01-16) 1 commit
- submodule.c: mark more strings for translation
Comments update.
Will merge to 'next'.
* am/pathspec-f-f-more (2020-01-21) 8 commits
- stash push: support the --pathspec-from-file option
- stash: eliminate crude option parsing
- doc: stash: synchronize <pathspec> description
- doc: stash: document more options
- doc: stash: split options from description (2)
- doc: stash: split options from description (1)
- rm: support the --pathspec-from-file option
- doc: rm: synchronize <pathspec> description
"git rm" and "git stash" learns the new "--pathspec-from-file"
option.
* bc/actualmente (2020-01-21) 1 commit
- docs: use "currently" for the present time
Doc grammo fix.
Will merge to 'next'.
* bc/author-committer-doc (2020-01-22) 3 commits
- doc: provide guidance on user.name format
- docs: expand on possible and recommended user config options
- doc: move author and committer information to git-commit(1)
Clarify documentation on committer/author identities.
Will merge to 'next'.
* bc/misconception-doc (2020-01-22) 2 commits
- docs: mention when increasing http.postBuffer is valuable
- doc: dissuade users from trying to ignore tracked files
Doc updates.
Will merge to 'next'.
* ds/refmap-doc (2020-01-21) 1 commit
- fetch: document and test --refmap=""
"git fetch --refmap=" option has got a better documentation.
Will merge to 'next'.
* js/rebase-i-with-colliding-hash (2020-01-21) 3 commits
- rebase -i: also avoid SHA-1 collisions with missingCommitsCheck
- rebase -i: re-fix short SHA-1 collision
- parse_insn_line(): improve error message when parsing failed
* lh/bool-to-type-bool (2020-01-21) 1 commit
- templates: fix deprecated type option `--bool`
Replace "git config --bool" calls with "git config --type=bool" in
sample templates.
Will merge to 'next'.
* pb/recurse-submodule-in-worktree-fix (2020-01-22) 4 commits
- submodule.c: use get_git_dir() instead of get_git_common_dir()
- t2405: clarify test descriptions and simplify test
- t2405: use git -C and test_commit -C instead of subshells
- t7410: rename to t2405-worktree-submodule.sh
The "--recurse-submodules" option of various subcommands did not
work well when run in an alternate worktree, which has been
corrected.
Will merge to 'next'.
* ss/t6025-modernize (2020-01-21) 2 commits
- t6025: use helpers to replace test -f <path>
- t6025: modernize style
Test style updates.
Will merge to 'next'.
--------------------------------------------------
[Stalled]
@@ -120,13 +394,13 @@ of the repositories listed at
cf. <64aa4049-ee35-df4c-1e6c-80707f4f9070@gmail.com>
* es/pathspec-f-f-grep (2019-12-13) 1 commit
* es/pathspec-f-f-grep (2020-01-13) 1 commit
- grep: support the --pathspec-from-file option
"git grep" learned the "--pathspec-from-file" command line
option.
Waiting for review responses.
Getting tired of waiting for review responses. Will discard.
cf. <20191204203911.237056-1-emilyshaffer@google.com>
@@ -176,27 +450,6 @@ of the repositories listed at
cf. <pull.466.v2.git.1575907804.gitgitgadget@gmail.com>
* mt/threaded-grep-in-object-store (2019-10-02) 11 commits
- grep: move driver pre-load out of critical section
- grep: re-enable threads in non-worktree case
- grep: protect packed_git [re-]initialization
- grep: allow submodule functions to run in parallel
- submodule-config: add skip_if_read option to repo_read_gitmodules()
- grep: replace grep_read_mutex by internal obj read lock
- object-store: allow threaded access to object reading
- replace-object: make replace operations thread-safe
- grep: fix racy calls in grep_objects()
- grep: fix race conditions at grep_submodule()
- grep: fix race conditions on userdiff calls
Traditionally, we avoided threaded grep while searching in objects
(as opposed to files in the working tree) as accesses to the object
layer is not thread-safe. This limitation is getting lifted.
Expecting a reroll.
cf. <CAHd-oW7UPSSExyLtfLMCObWogKrBOctYabrFrOdf9-4Q2PZmMg@mail.gmail.com>
* vn/reset-deleted-ita (2019-07-26) 1 commit
- reset: unstage empty deleted ita files
@@ -250,13 +503,39 @@ of the repositories listed at
--------------------------------------------------
[Cooking]
* do/gitweb-typofix-in-comments (2020-01-04) 1 commit
(merged to 'next' on 2020-01-06 at 66ce6539c4)
+ gitweb: fix a couple spelling errors in comments
* mt/threaded-grep-in-object-store (2020-01-17) 12 commits
- grep: use no. of cores as the default no. of threads
- grep: move driver pre-load out of critical section
- grep: re-enable threads in non-worktree case
- grep: protect packed_git [re-]initialization
- grep: allow submodule functions to run in parallel
- submodule-config: add skip_if_read option to repo_read_gitmodules()
- grep: replace grep_read_mutex by internal obj read lock
- object-store: allow threaded access to object reading
- replace-object: make replace operations thread-safe
- grep: fix racy calls in grep_objects()
- grep: fix race conditions at grep_submodule()
- grep: fix race conditions on userdiff calls
Typofix.
Traditionally, we avoided threaded grep while searching in objects
(as opposed to files in the working tree) as accesses to the object
layer is not thread-safe. This limitation is getting lifted.
Will merge to 'master'.
* hi/indent-text-with-tabs-in-editorconfig (2020-01-06) 1 commit
- editorconfig: indent text files with tabs
Tell .editorconfig that in this project, *.txt files are indented
with tabs.
Will merge to 'next'.
* jn/pretend-object-doc (2020-01-06) 1 commit
- sha1-file: document how to use pretend_object_file
Warn programmers about pretend_object_file() that allows the code
to tentatively use in-core objects.
* en/unpack-trees-check-updates-simplify (2020-01-04) 1 commit
@@ -264,26 +543,10 @@ of the repositories listed at
Code simplification.
* jb/doc-multi-pack-idx-fix (2020-01-04) 1 commit
(merged to 'next' on 2020-01-06 at f19f7d1016)
+ multi-pack-index: correct configuration in documentation
Typofix.
Will merge to 'master'.
Will merge to 'next'.
* pm/am-in-body-header-doc-update (2020-01-04) 1 commit
(merged to 'next' on 2020-01-06 at 73b0a3a49c)
+ am: document that Date: can appear as an in-body header
Doc update.
Will merge to 'master'.
* dl/merge-autostash (2019-12-26) 17 commits
* dl/merge-autostash (2020-01-13) 17 commits
- pull: pass --autostash to merge
- t5520: make test_pull_autostash() accept expect_parent_num
- merge: teach --autostash option
@@ -304,9 +567,11 @@ of the repositories listed at
"git merge" learns the "--autostash" option.
What's the status of this one? Are people happy with the shape of
the code?
* dl/test-must-fail-fixes-2 (2019-12-27) 16 commits
- t4124: let sed open its own files
* dl/test-must-fail-fixes-2 (2020-01-07) 16 commits
- t4124: only mark git command with test_must_fail
- t3507: use test_path_is_missing()
- t3507: fix indentation
@@ -314,234 +579,232 @@ of the repositories listed at
- t3419: stop losing return code of git command
- t3415: increase granularity of test_auto_{fixup,squash}()
- t3415: stop losing return codes of git commands
- t3310: extract common no_notes_merge_left()
- t3310: extract common notes_merge_files_gone()
- t3030: use test_path_is_missing()
- t2018: replace "sha" with "oid"
- t2018: don't lose return code of git commands
- t2018: teach do_checkout() to accept `!` arg
- t2018: use test_must_fail for failing git commands
- t2018: use test_expect_code for failing git commands
- t2018: improve style of if-statement
- t2018: add space between function name and ()
- t2018: remove trailing space from test description
Test updates.
Not quite.
cf. <CAPig+cQo1nbRo=n8-XOtycGijj3k1y_Zozu7VW-WTSBB9LncqQ@mail.gmail.com>
cf. <86lfqt36ah.fsf@gmail.com>
Will merge to 'next'.
* jn/promote-proto2-to-default (2019-12-27) 5 commits
(merged to 'next' on 2020-01-06 at f4bbb34797)
+ fetch: default to protocol version 2
+ protocol test: let protocol.version override GIT_TEST_PROTOCOL_VERSION
+ test: request GIT_TEST_PROTOCOL_VERSION=0 when appropriate
+ config doc: protocol.version is not experimental
+ fetch test: use more robust test for filtered objects
* jn/promote-proto2-to-default (2020-01-15) 5 commits
- fetch: default to protocol version 2
- protocol test: let protocol.version override GIT_TEST_PROTOCOL_VERSION
- test: request GIT_TEST_PROTOCOL_VERSION=0 when appropriate
- config doc: protocol.version is not experimental
- fetch test: use more robust test for filtered objects
(this branch uses jn/test-lint-one-shot-export-to-shell-function.)
The transport protocol version 2 becomes the default one.
Will cook in 'next'.
Will merge to 'next'.
* am/test-pathspec-f-f-error-cases (2020-01-02) 1 commit
(merged to 'next' on 2020-01-04 at 73ac7e77fb)
+ t: add tests for error conditions with --pathspec-from-file
* am/test-pathspec-f-f-error-cases (2020-01-15) 1 commit
- t: add tests for error conditions with --pathspec-from-file
More tests.
Will cook in 'next'.
Will merge to 'next'.
* jt/sha1-file-remove-oi-skip-cached (2020-01-02) 1 commit
(merged to 'next' on 2020-01-04 at fab9964f10)
(merged to 'next' on 2020-01-15 at 4feaff54f3)
+ sha1-file: remove OBJECT_INFO_SKIP_CACHED
Originally merged to 'next' on 2020-01-04
has_object_file() said "no" given an object registered to the
system via pretend_object_file(), making it inconsistent with
read_object_file(), causing lazy fetch to attempt fetching an
empty tree from promisor remotes.
Will cook in 'next'.
Will merge to 'master'.
* hw/commit-advise-while-rejecting (2019-12-19) 1 commit
(merged to 'next' on 2019-12-30 at e26700d582)
(merged to 'next' on 2020-01-15 at 4f16e5a3b6)
+ commit: honor advice.statusHints when rejecting an empty commit
Originally merged to 'next' on 2019-12-30
"git commit" gives output similar to "git status" when there is
nothing to commit, but without honoring the advise.statusHints
configuration variable, which has been corrected.
Will cook in 'next'.
Will merge to 'master'.
* yz/p4-py3 (2019-12-17) 14 commits
(merged to 'next' on 2019-12-30 at cd67de932d)
+ ci: also run linux-gcc pipeline with python3.5 environment
+ git-p4: use python3's input() everywhere
+ git-p4: simplify regex pattern generation for parsing diff-tree
+ git-p4: use dict.items() iteration for python3 compatibility
+ git-p4: use functools.reduce instead of reduce
+ git-p4: fix freezing while waiting for fast-import progress
+ git-p4: use marshal format version 2 when sending to p4
+ git-p4: open .gitp4-usercache.txt in text mode
+ git-p4: convert path to unicode before processing them
+ git-p4: encode/decode communication with git for python3
+ git-p4: encode/decode communication with p4 for python3
+ git-p4: remove string type aliasing
+ git-p4: change the expansion test from basestring to list
+ git-p4: make python2.7 the oldest supported version
* yz/p4-py3 (2020-01-15) 14 commits
- ci: also run linux-gcc pipeline with python3.5 environment
- git-p4: use python3's input() everywhere
- git-p4: simplify regex pattern generation for parsing diff-tree
- git-p4: use dict.items() iteration for python3 compatibility
- git-p4: use functools.reduce instead of reduce
- git-p4: fix freezing while waiting for fast-import progress
- git-p4: use marshal format version 2 when sending to p4
- git-p4: open .gitp4-usercache.txt in text mode
- git-p4: convert path to unicode before processing them
- git-p4: encode/decode communication with git for python3
- git-p4: encode/decode communication with p4 for python3
- git-p4: remove string type aliasing
- git-p4: change the expansion test from basestring to list
- git-p4: make python2.7 the oldest supported version
Update "git p4" to work with Python 3.
Will cook in 'next'.
Will merge to 'next'.
* hi/gpg-mintrustlevel (2019-12-27) 1 commit
(merged to 'next' on 2019-12-30 at 6c790280d2)
+ gpg-interface: add minTrustLevel as a configuration option
* hi/gpg-mintrustlevel (2020-01-15) 1 commit
- gpg-interface: add minTrustLevel as a configuration option
gpg.minTrustLevel configuration variable has been introduced to
tell various signature verification codepaths the required minimum
trust level.
Will cook in 'next'.
Will merge to 'next'.
* sg/completion-worktree (2019-12-19) 6 commits
(merged to 'next' on 2019-12-25 at 42c895ab3b)
+ completion: list paths and refs for 'git worktree add'
+ completion: list existing working trees for 'git worktree' subcommands
+ completion: simplify completing 'git worktree' subcommands and options
+ completion: return the index of found word from __git_find_on_cmdline()
+ completion: clean up the __git_find_on_cmdline() helper function
+ t9902-completion: add tests for the __git_find_on_cmdline() helper
* sg/completion-worktree (2020-01-15) 6 commits
- completion: list paths and refs for 'git worktree add'
- completion: list existing working trees for 'git worktree' subcommands
- completion: simplify completing 'git worktree' subcommands and options
- completion: return the index of found word from __git_find_on_cmdline()
- completion: clean up the __git_find_on_cmdline() helper function
- t9902-completion: add tests for the __git_find_on_cmdline() helper
The command line completion (in contrib/) learned to complete
subcommands and arguments to "git worktree".
Will cook in 'next'.
Will merge to 'next'.
* dl/credential-netrc (2019-12-20) 2 commits
(merged to 'next' on 2019-12-25 at 1fd27f81ac)
(merged to 'next' on 2020-01-15 at 768fa1c364)
+ contrib/credential/netrc: work outside a repo
+ contrib/credential/netrc: make PERL_PATH configurable
Originally merged to 'next' on 2019-12-25
Sample credential helper for using .netrc has been updated to work
out of the box.
Will cook in 'next'.
Will merge to 'master'.
* dl/test-must-fail-fixes (2019-12-20) 15 commits
(merged to 'next' on 2019-12-25 at 3ef7c70bc5)
+ t1507: inline full_name()
+ t1507: run commands within test_expect_success
+ t1507: stop losing return codes of git commands
+ t1501: remove use of `test_might_fail cp`
+ t1409: use test_path_is_missing()
+ t1409: let sed open its own input file
+ t1307: reorder `nongit test_must_fail`
+ t1306: convert `test_might_fail rm` to `rm -f`
+ t0020: use ! check_packed_refs_marked
+ t0020: don't use `test_must_fail has_cr`
+ t0003: don't use `test_must_fail attr_check`
+ t0003: use test_must_be_empty()
+ t0003: use named parameters in attr_check()
+ t0000: replace test_must_fail with run_sub_test_lib_test_err()
+ t/lib-git-p4: use test_path_is_missing()
- t1507: inline full_name()
- t1507: run commands within test_expect_success
- t1507: stop losing return codes of git commands
- t1501: remove use of `test_might_fail cp`
- t1409: use test_path_is_missing()
- t1409: let sed open its own input file
- t1307: reorder `nongit test_must_fail`
- t1306: convert `test_might_fail rm` to `rm -f`
- t0020: use ! check_packed_refs_marked
- t0020: don't use `test_must_fail has_cr`
- t0003: don't use `test_must_fail attr_check`
- t0003: use test_must_be_empty()
- t0003: use named parameters in attr_check()
- t0000: replace test_must_fail with run_sub_test_lib_test_err()
- t/lib-git-p4: use test_path_is_missing()
Test clean-up.
Will cook in 'next'.
Will merge to 'next'.
* en/rebase-backend (2019-12-26) 15 commits
(merged to 'next' on 2019-12-30 at 5b58e268d6)
+ rebase: change the default backend from "am" to "merge"
+ rebase: make the backend configurable via config setting
+ rebase tests: repeat some tests using the merge backend instead of am
+ rebase tests: mark tests specific to the am-backend with --am
+ git-prompt: change the prompt for interactive-based rebases
+ rebase: add an --am option
+ rebase: move incompatibility checks between backend options a bit earlier
+ git-rebase.txt: add more details about behavioral differences of backends
+ rebase: allow more types of rebases to fast-forward
+ t3432: make these tests work with either am or merge backends
+ rebase: fix handling of restrict_revision
+ rebase: make sure to pass along the quiet flag to the sequencer
+ rebase, sequencer: remove the broken GIT_QUIET handling
+ t3406: simplify an already simple test
+ rebase: extend the options for handling of empty commits
* en/rebase-backend (2020-01-17) 19 commits
- rebase: change the default backend from "am" to "merge"
- rebase: make the backend configurable via config setting
- rebase tests: repeat some tests using the merge backend instead of am
- rebase tests: mark tests specific to the am-backend with --am
- rebase: drop '-i' from the reflog for interactive-based rebases
- git-prompt: change the prompt for interactive-based rebases
- rebase: add an --am option
- rebase: move incompatibility checks between backend options a bit earlier
- git-rebase.txt: add more details about behavioral differences of backends
- rebase: allow more types of rebases to fast-forward
- t3432: make these tests work with either am or merge backends
- rebase: fix handling of restrict_revision
- rebase: make sure to pass along the quiet flag to the sequencer
- rebase, sequencer: remove the broken GIT_QUIET handling
- t3406: simplify an already simple test
- rebase (interactive-backend): fix handling of commits that become empty
- rebase (interactive-backend): make --keep-empty the default
- t3404: directly test the behavior of interest
- git-rebase.txt: update description of --allow-empty-message
"git rebase" has learned to use the sequencer backend by default,
while allowing "--am" option to go back to the traditional "am"
backend.
Will cook in 'next'.
* bc/hash-independent-tests-part-7 (2019-12-24) 20 commits
(merged to 'next' on 2019-12-30 at 0eedb894ba)
+ t5604: make hash independent
+ t5601: switch into repository to hash object
+ t5562: use $ZERO_OID
+ t5540: make hash size independent
+ t5537: make hash size independent
+ t5530: compute results based on object length
+ t5512: abstract away SHA-1-specific constants
+ t5510: make hash size independent
+ t5504: make hash algorithm independent
+ t5324: make hash size independent
+ t5319: make test work with SHA-256
+ t5319: change invalid offset for SHA-256 compatibility
+ t5318: update for SHA-256
+ t4300: abstract away SHA-1-specific constants
+ t4204: make hash size independent
+ t4202: abstract away SHA-1-specific constants
+ t4200: make hash size independent
+ t4134: compute appropriate length constant
+ t4066: compute index line in diffs
+ t4054: make hash-size independent
* bc/hash-independent-tests-part-7 (2020-01-15) 20 commits
- t5604: make hash independent
- t5601: switch into repository to hash object
- t5562: use $ZERO_OID
- t5540: make hash size independent
- t5537: make hash size independent
- t5530: compute results based on object length
- t5512: abstract away SHA-1-specific constants
- t5510: make hash size independent
- t5504: make hash algorithm independent
- t5324: make hash size independent
- t5319: make test work with SHA-256
- t5319: change invalid offset for SHA-256 compatibility
- t5318: update for SHA-256
- t4300: abstract away SHA-1-specific constants
- t4204: make hash size independent
- t4202: abstract away SHA-1-specific constants
- t4200: make hash size independent
- t4134: compute appropriate length constant
- t4066: compute index line in diffs
- t4054: make hash-size independent
Preparation of test scripts for the day when the object names will
use SHA-256 continues.
Will cook in 'next'.
Will merge to 'next'.
* jn/test-lint-one-shot-export-to-shell-function (2019-12-27) 3 commits
(merged to 'next' on 2019-12-30 at d08f039473)
+ fetch test: mark test of "skipping" haves as v0-only
+ t/check-non-portable-shell: detect "FOO= shell_func", too
+ fetch test: avoid use of "VAR= cmd" with a shell function
* jn/test-lint-one-shot-export-to-shell-function (2020-01-15) 3 commits
- fetch test: mark test of "skipping" haves as v0-only
- t/check-non-portable-shell: detect "FOO= shell_func", too
- fetch test: avoid use of "VAR= cmd" with a shell function
(this branch is used by jn/promote-proto2-to-default.)
The test-lint machinery knew to check "VAR=VAL shell_function"
construct, but did not check "VAR= shell_funciton", which has been
corrected.
Will cook in 'next'.
Will merge to 'next'.
* js/add-p-leftover-bits (2019-12-24) 9 commits
(merged to 'next' on 2020-01-06 at c6d3f1d4dd)
+ ci: include the built-in `git add -i` in the `linux-gcc` job
+ built-in add -p: handle Escape sequences more efficiently
+ built-in add -p: handle Escape sequences in interactive.singlekey mode
+ built-in add -p: respect the `interactive.singlekey` config setting
+ terminal: add a new function to read a single keystroke
+ terminal: accommodate Git for Windows' default terminal
+ terminal: make the code of disable_echo() reusable
+ built-in add -p: handle diff.algorithm
+ built-in add -p: support interactive.diffFilter
* js/add-p-leftover-bits (2020-01-15) 10 commits
- ci: include the built-in `git add -i` in the `linux-gcc` job
- built-in add -p: handle Escape sequences more efficiently
- built-in add -p: handle Escape sequences in interactive.singlekey mode
- built-in add -p: respect the `interactive.singlekey` config setting
- terminal: add a new function to read a single keystroke
- terminal: accommodate Git for Windows' default terminal
- terminal: make the code of disable_echo() reusable
- built-in add -p: handle diff.algorithm
- built-in add -p: support interactive.diffFilter
- t3701: adjust difffilter test
(this branch uses js/patch-mode-in-others-in-c.)
The final leg of rewriting "add -i/-p" in C.
Will cook in 'next'.
Will merge to 'next'.
* pw/advise-rebase-skip (2019-12-06) 9 commits
@@ -564,37 +827,35 @@ of the repositories listed at
* js/patch-mode-in-others-in-c (2019-12-21) 7 commits
(merged to 'next' on 2019-12-30 at a767b89288)
+ commit --interactive: make it work with the built-in `add -i`
+ built-in add -p: implement the "worktree" patch modes
+ built-in add -p: implement the "checkout" patch modes
+ built-in stash: use the built-in `git add -p` if so configured
+ legacy stash -p: respect the add.interactive.usebuiltin setting
+ built-in add -p: implement the "stash" and "reset" patch modes
+ built-in add -p: prepare for patch modes other than "stage"
- commit --interactive: make it work with the built-in `add -i`
- built-in add -p: implement the "worktree" patch modes
- built-in add -p: implement the "checkout" patch modes
- built-in stash: use the built-in `git add -p` if so configured
- legacy stash -p: respect the add.interactive.usebuiltin setting
- built-in add -p: implement the "stash" and "reset" patch modes
- built-in add -p: prepare for patch modes other than "stage"
(this branch is used by js/add-p-leftover-bits.)
The effort to move "git-add--interactive" to C continues.
Will cook in 'next'.
Will merge to 'next'.
* jk/packfile-reuse-cleanup (2019-10-23) 9 commits
(merged to 'next' on 2019-11-19 at 9683853939)
+ pack-objects: improve partial packfile reuse
+ builtin/pack-objects: introduce obj_is_packed()
+ pack-objects: introduce pack.allowPackReuse
+ csum-file: introduce hashfile_total()
+ pack-bitmap: introduce bitmap_walk_contains()
+ pack-bitmap: don't rely on bitmap_git->reuse_objects
+ ewah/bitmap: introduce bitmap_word_alloc()
+ packfile: expose get_delta_base()
+ builtin/pack-objects: report reused packfile objects
- pack-objects: improve partial packfile reuse
- builtin/pack-objects: introduce obj_is_packed()
- pack-objects: introduce pack.allowPackReuse
- csum-file: introduce hashfile_total()
- pack-bitmap: introduce bitmap_walk_contains()
- pack-bitmap: don't rely on bitmap_git->reuse_objects
- ewah/bitmap: introduce bitmap_word_alloc()
- packfile: expose get_delta_base()
- builtin/pack-objects: report reused packfile objects
The way "git pack-objects" reuses objects stored in existing pack
to generate its result has been improved.
Hold. There is an update to these patches that currently are on 'next'.
Needs further clarification?
cf. <20191115180319.113991-1-jonathantanmy@google.com>
--------------------------------------------------