7 UI, Workflows & Features
9 * "git remote" learned "get-url" subcommand to show the URL for a
10 given remote name used for fetching and pushing.
12 * There was no way to defeat a configured rebase.autostash variable
13 from the command line, as "git rebase --no-autostash" was missing.
15 * "git log --date=local" used to only show the normal (default)
16 format in the local timezone. The command learned to take 'local'
17 as an instruction to use the local timezone with other formats,
19 * The refs used during a "git bisect" session is now per-worktree so
20 that independent bisect sessions can be done in different worktrees
21 created with "git worktree add".
23 * Users who are too busy to type three extra keystrokes to ask for
24 "git stash show -p" can now set stash.showPatch configuration
25 varible to true to always see the actual patch, not just the list
26 of paths affected with feel for the extent of damage via diffstat.
28 * "quiltimport" allows to specify the series file by honoring the
29 $QUILT_SERIES environment and also --series command line option.
31 * The use of 'good/bad' in "git bisect" made it confusing to use when
32 hunting for a state change that is not a regression (e.g. bugfix).
33 The command learned 'old/new' and then allows the end user to
34 say e.g. "bisect start --term-old=fast --term-new=slow" to find a
35 performance regression.
37 * "git interpret-trailers" can now run outside of a Git repository.
39 * "git p4" learned to reencode the pathname it uses to communicate
40 with the p4 depot with a new option.
42 * Give progress meter to "git filter-branch".
44 * Allow a later "!/abc/def" to override an earlier "/abc" that
45 appears in the same .gitignore file to make it easier to express
46 "everything in /abc directory is ignored, except for ...".
48 * Teach "git p4" to send large blobs outside the repository by
51 * Prepare for Git on-disk repository representation to undergo
52 backward incompatible changes by introducing a new repository
53 format version "1", with an extension mechanism.
54 (merge 067fbd4 jk/repository-extension later to maint).
56 * "git worktree" learned a "list" subcommand.
58 * "git clone --dissociate" learned that it can be used even when
59 "--reference" was not used at the same time.
62 Performance, Internal Implementation, Development Support etc.
64 * The infrastructure to rewrite "git submodule" in C is being built
65 incrementally. Let's polish these early parts well enough and make
66 them graduate to 'next' and 'master', so that the more involved
67 follow-up can start cooking on a solid ground.
69 * Some features from "git tag -l" and "git branch -l" have been made
70 available to "git for-each-ref" so that eventually the unified
71 implementation can be shared across all three. The version merged
72 to the 'master' branch earlier had a performance regression in "tag
73 --contains", which has since been corrected.
75 * Because "test_when_finished" in our test framework queues the
76 clean-up tasks to be done in a shell variable, it should not be
77 used inside a subshell. Add a mechanism to allow 'bash' to catch
78 such uses, and fix the ones that were found.
79 (merge 0968f12 jk/test-lint-forbid-when-finished-in-subshell later to maint).
81 * The debugging infrastructure for pkt-line based communication has
82 been improved to mark the side-band communication specifically.
83 (merge fd89433 jk/async-pkt-line later to maint).
85 * Update "git branch" that list existing branches, using the
86 ref-filter API that is shared with "git tag" and "git
89 * The test for various line-ending conversions has been enhanced.
91 * A few test scripts around "git p4" have been improved for
94 * Many allocations that is manually counted (correctly) that are
95 followed by strcpy/sprintf have been replaced with a less error
96 prone constructs such as xstrfmt.
98 * The internal stripspace() function has been moved to where it
99 logically belongs to, i.e. strbuf API, and the command line parser
100 of "git stripspace" has been updated to use the parse_options API.
101 (merge bed4452 tk/stripspace later to maint).
103 * "git am" used to spawn "git mailinfo" via run_command() API once
104 per each patch, but learned to make a direct call to mailinfo()
107 * The implementation of "git mailinfo" was refactored so that a
108 mailinfo() function can be directly called from inside a process.
111 Also contains various documentation updates and code clean-ups.
117 Unless otherwise noted, all the fixes since v2.6 in the maintenance
118 track are contained in this release (see the maintenance releases'
121 * Very small number of options take a parameter that is optional
122 (which is not a great UI element as they can only appear at the end
123 of the command line). Add notice to documentation of each and
125 (merge 2b594bf mm/keyid-docs later to maint).
127 * "git blame --first-parent v1.0..v2.0" was not rejected but did not
128 limit the blame to commits on the first parent chain.
129 (merge 95a4fb0 jk/blame-first-parent later to maint).
131 * "git subtree" (in contrib/) now can take whitespaces in the
132 pathnames, not only in the in-tree pathname but the name of the
133 directory that the repository is in. (merge 5b6ab38
134 as/subtree-with-spaces later to maint).
136 * The ssh transport, just like any other transport over the network,
137 did not clear GIT_* environment variables, but it is possible to
138 use SendEnv and AcceptEnv to leak them to the remote invocation of
139 Git, which is not a good idea at all. Explicitly clear them just
140 like we do for the local transport.
141 (merge a48b409 jk/connect-clear-env later to maint).
143 * Correct "git p4 --detect-labels" so that it does not fail to create
144 a tag that points at a commit that is also being imported.
145 (merge b43702a ld/p4-import-labels later to maint).
147 * The Makefile always runs the library archiver with hardcoded "crs"
148 options, which was inconvenient for exotic platforms on which
149 people want to use programs with totally different set of command
151 (merge ac179b4 jw/make-arflags-customizable later to maint).
153 * Customization to change the behaviour with "make -w" and "make -s"
154 in our Makefile was broken when they were used together.
155 (merge ef49e05 jk/make-findstring-makeflags-fix later to maint).
157 * Allocation related functions and stdio are unsafe things to call
158 inside a signal handler, and indeed killing the pager can cause
159 glibc to deadlock waiting on allocation mutex as our signal handler
160 tries to free() some data structures in wait_for_pager(). Reduce
162 (merge 507d780 ti/glibc-stdio-mutex-from-signal-handler later to maint).
164 * The way how --ref/--notes to specify the notes tree reference are
165 DWIMmed was not clearly documented.
166 (merge e14c92e jk/notes-dwim-doc later to maint).
168 * "git gc" used to barf when a symbolic ref has gone dangling
169 (e.g. the branch that used to be your upstream's default when you
170 cloned from it is now gone, and you did "fetch --prune").
171 (merge 14886b4 js/gc-with-stale-symref later to maint).
173 * "git clone --dissociate" runs a big "git repack" process at the
174 end, and it helps to close file descriptors that are open on the
175 packs and their idx files before doing so on filesystems that
176 cannot remove a file that is still open.
177 (merge 786b150 js/clone-dissociate later to maint).
179 * Description of the "log.follow" configuration variable in "git log"
180 documentation is now also copied to "git config" documentation.
181 (merge fd8d07e dt/log-follow-config later to maint).
183 * "git rebase -i" had a minor regression recently, which stopped
184 considering a line that begins with an indented '#' in its insn
185 sheet not a comment. Further, the code was still too picky on
186 Windows where CRLF left by the editor is turned into a trailing CR
187 on the line read via the "read" built-in command of bash. Both of
188 these issues are now fixed.
189 (merge 39743cf gr/rebase-i-drop-warn later to maint).
191 * After "git checkout --detach", "git status" reported a fairly
192 useless "HEAD detached at HEAD", instead of saying at which exact
194 (merge 0eb8548 mm/detach-at-HEAD-reflog later to maint).
196 * When "git send-email" wanted to talk over Net::SMTP::SSL,
197 Net::Cmd::datasend() did not like to be fed too many bytes at the
198 same time and failed to send messages. Send the payload one line
199 at a time to work around the problem.
200 (merge f60c483 sa/send-email-smtp-batch-data-limit later to maint).
202 * When "git am" was rewritten as a built-in, it stopped paying
203 attention to user.signingkey, which was fixed.
204 (merge 434c64d pt/am-builtin later to maint).
206 * It was not possible to use a repository-lookalike created by "git
207 worktree add" as a local source of "git clone".
208 (merge d78db84 nd/clone-linked-checkout later to maint).
210 * On a case insensitive filesystems, setting GIT_WORK_TREE variable
211 using a random cases that does not agree with what the filesystem
212 thinks confused Git that it wasn't inside the working tree.
213 (merge 63ec5e1 js/icase-wt-detection later to maint).
215 * Performance-measurement tests did not work without an installed Git.
216 (merge 31cd128 sb/perf-without-installed-git later to maint).
218 * A test script for the HTTP service had a timing dependent bug,
220 (merge 362d8b6 sb/http-flaky-test-fix later to maint).
222 * There were some classes of errors that "git fsck" diagnosed to its
223 standard error that did not cause it to exit with non-zero status.
224 (merge 122f76f jc/fsck-dropped-errors later to maint).
226 * Work around "git p4" failing when the P4 depot records the contents
227 in UTF-16 without UTF-16 BOM.
228 (merge 1f5f390 ls/p4-translation-failure later to maint).
230 * When "git gc --auto" is backgrounded, its diagnosis message is
231 lost. Save it to a file in $GIT_DIR and show it next time the "gc
233 (merge 329e6e8 nd/gc-auto-background-fix later to maint).
235 * The submodule code has been taught to work better with separate
236 work trees created via "git worktree add".
237 (merge 11f9dd7 mk/submodule-gitdir-path later to maint).
239 * "git gc" is safe to run anytime only because it has the built-in
240 grace period to protect young objects. In order to run with no
241 grace period, the user must make sure that the repository is
243 (merge fae1a90 jc/doc-gc-prune-now later to maint).
245 * A recent "filter-branch --msg-filter" broke skipping of the commit
246 object header, which is fixed.
247 (merge a5a4b3f jk/filter-branch-use-of-sed-on-incomplete-line later to maint).
249 * The normalize_ceiling_entry() function does not muck with the end
250 of the path it accepts, and the real world callers do rely on that,
251 but a test insisted that the function drops a trailing slash.
252 (merge b2a7123 rd/test-path-utils later to maint).
254 * A test for interaction between untracked cache and sparse checkout
255 added in Git 2.5 days were flaky.
256 (merge 9b680fb dt/t7063-fix-flaky-test later to maint).
258 * A couple of commands still showed "[options]" in their usage string
259 to note where options should come on their command line, but we
260 spell that "[<options>]" in most places these days.
261 (merge d96a031 rt/placeholder-in-usage later to maint).
263 * The synopsis text and the usage string of subcommands that read
264 list of things from the standard input are often shown as if they
265 only take input from a file on a filesystem, which was misleading.
266 (merge 33e8fc8 jc/usage-stdin later to maint).
268 * "git am -3" had a small regression where it is aborted in its error
269 handling codepath when underlying merge-recursive failed in certain
270 ways, as it assumed that the internal call to merge-recursive will
271 never die, which is not the case (yet).
272 (merge c63d4b2 jc/am-3-fallback-regression-fix later to maint).
274 * The linkage order of libraries was wrong in places around libcurl.
275 (merge 7e91e8d rp/link-curl-before-ssl later to maint).
277 * The name-hash subsystem that is used to cope with case insensitive
278 filesystems keeps track of directories and their on-filesystem
279 cases for all the paths in the index by holding a pointer to a
280 randomly chosen cache entry that is inside the directory (for its
281 ce->ce_name component). This pointer was not updated even when the
282 cache entry was removed from the index, leading to use after free.
283 This was fixed by recording the path for each directory instead of
284 borrowing cache entries and restructuring the API somewhat.
285 (merge 41284eb dt/name-hash-dir-entry-fix later to maint).
287 * "git merge-file" tried to signal how many conflicts it found, which
288 obviously would not work well when there are too many of them.
289 (merge e34f802 jk/merge-file-exit-code later to maint).
291 * The error message from "git blame --contents --reverse" incorrectly
292 talked about "--contents --children".
293 (merge 9526197 mk/blame-error-message later to maint).
295 * "git imap-send" did not compile well with older version of cURL library.
296 (merge 71d9257 js/imap-send-curl-compilation-fix later to maint).
298 * Merging a branch that removes a path and another that changes the
299 mode bits on the same path should have conflicted at the path, but
300 it didn't and silently favoured the removal.
301 (merge 72fac66 jk/delete-modechange-conflict later to maint).
303 * "git --literal-pathspecs add -u/-A" without any command line
304 argument misbehaved ever since Git 2.0.
305 (merge 29abb33 jc/add-u-A-default-to-top later to maint).
307 * Code clean-up, minor fixes etc.
308 (merge 15ed07d jc/rerere later to maint).
309 (merge e7a7401 pt/pull-builtin later to maint).
310 (merge 29bc480 nd/ls-remote-does-not-have-u-option later to maint).
311 (merge be510e0 jk/asciidoctor-section-heading-markup-fix later to maint).
312 (merge 83e6bda tk/typofix-connect-unknown-proto-error later to maint).
313 (merge a43eb67 tk/doc-interpret-trailers-grammo later to maint).
314 (merge ba128e2 es/worktree-add-cleanup later to maint).
315 (merge 44cd91e cc/quote-comments later to maint).
316 (merge 147875f sb/submodule-config-parse later to maint).
317 (merge ae9f274 es/worktree-add later to maint).
318 (merge 3b19dba jc/em-dash-in-doc later to maint).
319 (merge f3f38c7 jc/everyday-markup later to maint).
320 (merge 77d5f71 xf/user-manual-markup later to maint).
321 (merge b2af482 xf/user-manual-ff later to maint).
322 (merge e510ab8 rs/pop-commit later to maint).
323 (merge fdcdb77 js/misc-fixes later to maint).