4 Backward compatibility notes and other notable changes.
6 * Use of an empty string as a pathspec element that is used for
7 'everything matches' is still warned and Git asks users to use a
8 more explicit '.' for that instead. The hope is that existing
9 users will not mind this change, and eventually the warning can be
10 turned into a hard error, upgrading the deprecation into removal of
11 this (mis)feature. That is now scheduled to happen in the upcoming
14 * Git now avoids blindly falling back to ".git" when the setup
15 sequence said we are _not_ in Git repository. A corner case that
16 happens to work right now may be broken by a call to die("BUG").
17 We've tried hard to locate such cases and fixed them, but there
18 might still be cases that need to be addressed--bug reports are
25 UI, Workflows & Features
27 * An example that is now obsolete has been removed from a sample hook,
28 and an old example in it that added a sign-off manually has been
29 improved to use the interpret-trailers command.
31 * The advice message given when "git rebase" stops for conflicting
32 changes has been improved.
34 * The "rerere-train" script (in contrib/) learned the "--overwrite"
35 option to allow overwriting existing recorded resolutions.
36 (merge ad53bf79aa rg/rerere-train-overwrite later to maint).
38 * "git contacts" (in contrib/) now lists the address on the
39 "Reported-by:" trailer to its output, in addition to those on
40 S-o-b: and other trailers, to make it easier to notify (and thank)
41 the original bug reporter.
42 (merge 09ac673788 eb/contacts-reported-by later to maint).
44 * "git rebase", especially when it is run by mistake and ends up
45 trying to replay many changes, spent long time in silence. The
46 command has been taught to show progress report when it spends
47 long time preparing these many changes to replay (which would give
48 the user a chance to abort with ^C).
51 Performance, Internal Implementation, Development Support etc.
53 * Conversion from uchar[20] to struct object_id continues.
55 * Start using selected c99 constructs in small, stable and
56 essentialpart of the system to catch people who care about
57 older compilers that do not grok them.
59 * The filter-process interface learned to allow a process with long
60 latency give a "delayed" response.
62 * Many uses of comparision callback function the hashmap API uses
63 cast the callback function type when registering it to
64 hashmap_init(), which defeats the compile time type checking when
65 the callback interface changes (e.g. gaining more parameters).
66 The callback implementations have been updated to take "void *"
67 pointers and cast them to the type they expect instead.
69 * Because recent Git for Windows do come with a real msgfmt, the
70 build procedure for git-gui has been updated to use it instead of a
71 hand-rolled substitute.
72 (merge 90dbf226ba js/git-gui-msgfmt-on-windows later to maint).
74 * "git grep --recurse-submodules" has been reworked to give a more
75 consistent output across submodule boundary (and do its thing
76 without having to fork a separate process).
78 * A helper function to read a single whole line into strbuf
79 mistakenly triggered OOM error at EOF under certain conditions,
81 (merge 642956cf45 rs/strbuf-getwholeline-fix later to maint).
83 * The "ref-store" code reorganization continues.
85 * "git commit" used to discard the index and re-read from the filesystem
86 just in case the pre-commit hook has updated it in the middle; this
87 has been optimized out when we know we do not run the pre-commit hook.
88 (merge 680ee550d7 kw/commit-keep-index-when-pre-commit-is-not-run later to maint).
91 Also contains various documentation updates and code clean-ups.
97 * "%C(color name)" in the pretty print format always produced ANSI
98 color escape codes, which was an early design mistake. They now
99 honor the configuration (e.g. "color.ui = never") and also tty-ness
100 of the output medium.
101 (merge 11b087adfd jk/ref-filter-colors later to maint).
103 * The http.{sslkey,sslCert} configuration variables are to be
104 interpreted as a pathname that honors "~[username]/" prefix, but
105 weren't, which has been fixed.
106 (merge 8d1549643e jc/http-sslkey-and-ssl-cert-are-paths later to maint).
108 * Numerous bugs in walking of reflogs via "log -g" and friends have
110 (merge de239446b6 jk/reflog-walk later to maint).
112 * "git commit" when seeing an totally empty message said "you did not
113 edit the message", which is clearly wrong. The message has been
115 (merge bc17f35f8c ks/commit-abort-on-empty-message-fix later to maint).
117 * When a directory is not readable, "gitweb" fails to build the
118 project list. Work this around by skipping such a directory.
119 (merge 46a13857fc hb/gitweb-project-list later to maint).
121 * Some versions of GnuPG fails to kill gpg-agent it auto-spawned
122 and such a left-over agent can interfere with a test. Work it
123 around by attempting to kill one before starting a new test.
124 (merge 29ff1f8f74 st/lib-gpg-kill-stray-agent later to maint).
126 * A recently added test for the "credential-cache" helper revealed
127 that EOF detection done around the time the connection to the cache
128 daemon is torn down were flaky. This was fixed by reacting to
129 ECONNRESET and behaving as if we got an EOF.
130 (merge 1f180e5eb9 dl/credential-cache-socket-in-xdg-cache later to maint).
132 * "git log --tag=no-such-tag" showed log starting from HEAD, which
133 has been fixed---it now shows nothing.
134 (merge 5d34d1ac06 jk/rev-list-empty-input later to maint).
136 * The "tag.pager" configuration variable was useless for those who
137 actually create tag objects, as it interfered with the use of an
138 editor. A new mechanism has been introduced for commands to enable
139 pager depending on what operation is being carried out to fix this,
140 and then "git tag -l" is made to run pager by default.
141 (merge 595d59e2b5 ma/pager-per-subcommand-action later to maint).
143 * "git push --recurse-submodules $there HEAD:$target" was not
144 propagated down to the submodules, but now it is.
145 (merge c7be7201a7 bw/push-options-recursively-to-submodules later to maint).
147 * Commands like "git rebase" accepted the --rerere-autoupdate option
148 from the command line, but did not always use it. This has been
150 (merge f826fb799e pw/sequence-rerere-autoupdate later to maint).
152 * "git clone --recurse-submodules --quiet" did not pass the quiet
153 option down to submodules.
154 (merge 03c004c581 bw/clone-recursive-quiet later to maint).
156 * Test portability fix for OBSD.
157 (merge bed67874e2 rs/obsd-getcwd-workaround later to maint).
158 (merge 4c7fda8fc1 rs/t4062-obsd later to maint).
160 * Portability fix for OBSD.
161 (merge 29c2eda80b rs/in-obsd-basename-dirname-take-const later to maint).
163 * "git am -s" has been taught that some input may end with a trailer
164 block that is not Signed-off-by: and it should refrain from adding
165 an extra blank line before adding a new sign-off in such a case.
166 (merge 735285b403 pw/am-signoff later to maint).
168 * "git svn" used with "--localtime" option did not compute the tz
169 offset for the timestamp in question and instead always used the
170 current time, which has been corrected.
171 (merge 1adc4b9a58 ur/svn-local-zone later to maint).
173 * Memory leak in an error codepath has been plugged.
174 (merge 83cd6f9017 rs/fsck-obj-leakfix later to maint).
175 (merge 896dca3ab7 rs/unpack-entry-leakfix later to maint).
176 (merge 149d8cbb2e rs/win32-syslog-leakfix later to maint).
178 * "git stash -u" used the contents of the committed version of the
179 ".gitignore" file to decide which paths are ignored, even when the
180 file has local changes. The command has been taught to instead use
181 the locally modified contents.
183 * bash 4.4 or newer gave a warning on NUL byte in command
184 substitution done in "git stash"; this has been squelched.
185 (merge 5fc92f8828 kd/stash-with-bash-4.4 later to maint).
187 * "git grep -L" and "git grep --quiet -L" reported different exit
188 codes; this has been corrected.
189 (merge e1f68c66d5 as/grep-quiet-no-match-exit-code-fix later to maint).
191 * Other minor doc, test and build updates and code cleanups.
192 (merge 5b114f3bb0 rs/bswap-ubsan-fix later to maint).
193 (merge 168e63554c rs/move-array later to maint).
194 (merge 268ba20110 rs/stat-data-unaligned-reads-fix later to maint).
195 (merge 78e7b98f45 jt/fsck-code-cleanup later to maint).
196 (merge c7b0780545 rs/pack-objects-pbase-cleanup later to maint).
197 (merge c1e860f1dc js/run-process-parallel-api-fix later to maint).
198 (merge 7a40a95eb4 cc/ref-is-hidden-microcleanup later to maint).
199 (merge c0bb6d9cef ah/doc-wserrorhighlight later to maint).
200 (merge edd64ef4f7 dc/fmt-merge-msg-microcleanup later to maint).
201 (merge fa64a2fdbe jt/subprocess-handshake later to maint).
202 (merge 0ba9c9a0fb jb/t8008-cleanup later to maint).
203 (merge a7c28a2161 jt/t1450-fsck-corrupt-packfile later to maint).
204 (merge dff2813391 ab/ref-filter-no-contains later to maint).
205 (merge f094b89a4d ma/parse-maybe-bool later to maint).
206 (merge 974ce8078c mf/no-dashed-subcommands later to maint).
207 (merge f81935cc4d jc/perl-git-comment-typofix later to maint).
208 (merge 57ea241ef0 rs/t3700-clean-leftover later to maint).
209 (merge f1068efefe jk/drop-sha1-entry-pos later to maint).
210 (merge 0b006014c8 jk/hashcmp-memcmp later to maint).
211 (merge 1e22a9917b rj/add-chmod-error-message later to maint).
212 (merge 881529c846 rs/apply-lose-prefix-length later to maint).
213 (merge 6355a76802 rs/find-pack-entry-bisection later to maint).
214 (merge de3ce210ed rs/merge-microcleanup later to maint).
215 (merge 7f0a02be2f ah/doc-empty-string-is-false later to maint).
216 (merge 70ec6bd63b rs/t1002-do-not-use-sum later to maint).
217 (merge 2456990dfd sb/sha1-file-cleanup later to maint).
218 (merge 2aac933c62 hv/t5526-andand-chain-fix later to maint).
219 (merge c8d0c4fe9b sb/submodule-parallel-update later to maint).
220 (merge 794b7e1674 mg/format-ref-doc-fix later to maint).