fetch-pack: remove no_dependents code
[git] / Documentation / RelNotes / 2.29.0.txt
1 Git 2.29 Release Notes
2 ======================
3
4 Updates since v2.28
5 -------------------
6
7 UI, Workflows & Features
8
9  * "git help log" has been enhanced by sharing more material from the
10    documentation for the underlying "git rev-list" command.
11
12  * "git for-each-ref --format=<>" learned %(contents:size).
13
14  * "git merge" learned to selectively omit " into <branch>" at the end
15    of the title of default merge message with merge.suppressDest
16    configuration.
17
18  * The component to respond to "git fetch" request is made more
19    configurable to selectively allow or reject object filtering
20    specification used for partial cloning.
21
22  * Stop when "sendmail.*" configuration variables are defined, which
23    could be a mistaken attempt to define "sendemail.*" variables.
24
25  * The existing backends for "git mergetool" based on variants of vim
26    have been refactored and then support for "nvim" has been added.
27
28  * "git bisect" learns the "--first-parent" option to find the first
29    breakage along the first-parent chain.
30
31  * "git log --first-parent -p" showed patches only for single-parent
32    commits on the first-parent chain; the "--first-parent" option has
33    been made to imply "-m".  Use "--no-diff-merges" to restore the
34    previous behaviour to omit patches for merge commits.
35
36
37 Performance, Internal Implementation, Development Support etc.
38
39  * The changed-path Bloom filter is improved using ideas from an
40    independent implementation.
41
42  * Updates to the changed-paths bloom filter.
43
44  * The test framework has been updated so that most tests will run
45    with predictable (artificial) timestamps.
46
47  * Preliminary clean-up of the refs API in preparation for adding a
48    new refs backend "reftable".
49
50  * Dev support to limit the use of test_must_fail to only git commands.
51
52  * While packing many objects in a repository with a promissor remote,
53    lazily fetching missing objects from the promissor remote one by
54    one may be inefficient---the code now attempts to fetch all the
55    missing objects in batch (obviously this won't work for a lazy
56    clone that lazily fetches tree objects as you cannot even enumerate
57    what blobs are missing until you learn which trees are missing).
58
59  * The pretend-object mechanism checks if the given object already
60    exists in the object store before deciding to keep the data
61    in-core, but the check would have triggered lazy fetching of such
62    an object from a promissor remote.
63
64  * The argv_array API is useful for not just managing argv but any
65    "vector" (NULL-terminated array) of strings, and has seen adoption
66    to a certain degree.  It has been renamed to "strvec" to reduce the
67    barrier to adoption.
68
69  * The final leg of SHA-256 transition.
70
71  * CMake support to build with MSVC for Windows bypassing the Makefile.
72
73  * A new helper function has_object() has been introduced to make it
74    easier to mark object existence checks that do and don't want to
75    trigger lazy fetches, and a few such checks are converted using it.
76
77  * A no-op replacement function implemented as a C preprocessor macro
78    does not perform as good a job as one implemented as a "static
79    inline" function in catching errors in parameters; replace the
80    former with the latter in <git-compat-util.h> header.
81
82  * Test framework update.
83    (merge d572f52a64 es/test-cmp-typocatcher later to maint).
84
85
86 Fixes since v2.28
87 -----------------
88
89  * "git clone --separate-git-dir=$elsewhere" used to stomp on the
90    contents of the existing directory $elsewhere, which has been
91    taught to fail when $elsewhere is not an empty directory.
92    (merge dfaa209a79 bw/fail-cloning-into-non-empty later to maint).
93
94  * With the base fix to 2.27 regresion, any new extensions in a v0
95    repository would still be silently honored, which is not quite
96    right.  Instead, complain and die loudly.
97    (merge ec91ffca04 jk/reject-newer-extensions-in-v0 later to maint).
98
99  * Fetching from a lazily cloned repository resulted at the server
100    side in attempts to lazy fetch objects that the client side has,
101    many of which will not be available from the third-party anyway.
102    (merge 77aa0941ce jt/avoid-lazy-fetching-upon-have-check later to maint).
103
104  * Fix to an ancient bug caused by an over-eager attempt for
105    optimization.
106    (merge a98f7fb366 rs/add-index-entry-optim-fix later to maint).
107
108  * Pushing a ref whose name contains non-ASCII character with the
109    "--force-with-lease" option did not work over smart HTTP protocol,
110    which has been corrected.
111    (merge cd85b447bf bc/push-cas-cquoted-refname later to maint).
112
113  * "git mv src dst", when src is an unmerged path, errored out
114    correctly but with an incorrect error message to claim that src is
115    not tracked, which has been clarified.
116    (merge 9b906af657 ct/mv-unmerged-path-error later to maint).
117
118  * Fix to a regression introduced during 2.27 cycle.
119    (merge cada7308ad en/fill-directory-exponential later to maint).
120
121  * Command line completion (in contrib/) update.
122    (merge 688b87c81b mp/complete-show-color-moved later to maint).
123
124  * All "mergy" operations that internally use the merge-recursive
125    machinery should honor the merge.renormalize configuration, but
126    many of them didn't.
127
128  * Doc cleanup around "worktree".
129    (merge dc9c144be5 es/worktree-doc-cleanups later to maint).
130
131  * The "git blame --first-parent" option was not documented, but now
132    it is.
133    (merge 11bc12ae1e rp/blame-first-parent-doc later to maint).
134
135  * The logic to find the ref transaction hook script attempted to
136    cache the path to the found hook without realizing that it needed
137    to keep a copied value, as the API it used returned a transitory
138    buffer space.  This has been corrected.
139    (merge 09b2aa30c9 ps/ref-transaction-hook later to maint).
140
141  * Recent versions of "git diff-files" shows a diff between the index
142    and the working tree for "intent-to-add" paths as a "new file"
143    patch; "git apply --cached" should be able to take "git diff-files"
144    and should act as an equivalent to "git add" for the path, but the
145    command failed to do so for such a path.
146    (merge 4c025c667e rp/apply-cached-with-i-t-a later to maint).
147
148  * Other code cleanup, docfix, build fix, etc.
149    (merge 84544f2ea3 sk/typofixes later to maint).
150    (merge b17f411ab5 ar/help-guides-doc later to maint).
151    (merge 98c6871fad rs/grep-simpler-parse-object-or-die-call later to maint).
152    (merge 861c4ce141 en/typofixes later to maint).
153    (merge 60e47f6773 sg/ci-git-path-fix-with-pyenv later to maint).
154    (merge e2bfa50ac3 jb/doc-packfile-name later to maint).
155    (merge 918d8ff780 es/worktree-cleanup later to maint).
156    (merge dc156bc31f ma/t1450-quotefix later to maint).
157    (merge 56e743426b en/merge-recursive-comment-fixes later to maint).
158    (merge 7d23ff818f rs/bisect-oid-to-hex-fix later to maint).
159    (merge de20baf2c9 ny/notes-doc-sample-update later to maint).
160    (merge f649aaaf82 so/rev-parser-errormessage-fix later to maint).
161    (merge 6103d58b7f bc/sha-256-cvs-svn-updates later to maint).
162    (merge ac900fddb7 ma/stop-progress-null-fix later to maint).