2015-03-18 00:05:12 +01:00
|
|
|
Git 2.4 Release Notes
|
|
|
|
=====================
|
|
|
|
|
2015-03-20 21:31:53 +01:00
|
|
|
Backward compatibility warning(s)
|
|
|
|
---------------------------------
|
|
|
|
|
2015-03-23 19:36:01 +01:00
|
|
|
This release has a few changes in the user-visible output from
|
2015-04-02 21:46:06 +02:00
|
|
|
Porcelain commands. These are not meant to be parsed by scripts, but
|
2015-04-23 14:27:50 +02:00
|
|
|
users still may want to be aware of the changes:
|
2015-03-20 21:31:53 +01:00
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* The output from "git log --decorate" (and, more generally, the "%d"
|
|
|
|
format specifier used in the "--format=<string>" parameter to the
|
|
|
|
"git log" family of commands) has changed. It used to list "HEAD"
|
|
|
|
just like other branches; e.g.,
|
2015-03-20 21:31:53 +01:00
|
|
|
|
2015-03-23 19:36:01 +01:00
|
|
|
$ git log --decorate -1 master
|
|
|
|
commit bdb0f6788fa5e3cacc4315e9ff318a27b2676ff4 (HEAD, master)
|
|
|
|
...
|
2015-03-20 21:31:53 +01:00
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
This release changes the output slightly when HEAD refers to a
|
|
|
|
branch whose name is also shown in the output. The above is now
|
2015-03-23 19:36:01 +01:00
|
|
|
shown as:
|
2015-03-20 21:31:53 +01:00
|
|
|
|
2015-03-23 19:36:01 +01:00
|
|
|
$ git log --decorate -1 master
|
|
|
|
commit bdb0f6788fa5e3cacc4315e9ff318a27b2676ff4 (HEAD -> master)
|
|
|
|
...
|
2015-03-20 21:31:53 +01:00
|
|
|
|
2015-03-23 19:36:01 +01:00
|
|
|
* The phrasing "git branch" uses to describe a detached HEAD has been
|
2015-04-23 14:27:50 +02:00
|
|
|
updated to agree with the phrasing used by "git status":
|
2015-03-23 19:36:01 +01:00
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
- When HEAD is at the same commit as when it was originally
|
2015-03-23 19:36:01 +01:00
|
|
|
detached, they now both show "detached at <commit object name>".
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
- When HEAD has moved since it was originally detached, they now
|
|
|
|
both show "detached from <commit object name>".
|
2015-03-23 19:36:01 +01:00
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
Previously, "git branch" always used "from".
|
2015-03-20 21:31:53 +01:00
|
|
|
|
|
|
|
|
2015-03-18 00:05:12 +01:00
|
|
|
Updates since v2.3
|
|
|
|
------------------
|
|
|
|
|
|
|
|
Ports
|
|
|
|
|
|
|
|
* Our default I/O size (8 MiB) for large files was too large for some
|
|
|
|
platforms with smaller SSIZE_MAX, leading to read(2)/write(2)
|
|
|
|
failures.
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* We did not check the curl library version before using the
|
|
|
|
CURLOPT_PROXYAUTH feature, which did not exist in older versions of
|
|
|
|
the library.
|
2015-03-18 00:05:12 +01:00
|
|
|
|
2015-03-20 21:31:53 +01:00
|
|
|
* We now detect number of CPUs on older BSD-derived systems.
|
|
|
|
|
|
|
|
* Portability fixes and workarounds for shell scripts have been added
|
|
|
|
to help BSD-derived systems.
|
|
|
|
|
2015-03-18 00:05:12 +01:00
|
|
|
|
|
|
|
UI, Workflows & Features
|
|
|
|
|
|
|
|
* The command usage info strings given by "git cmd -h" and in
|
|
|
|
documentation have been tweaked for consistency.
|
|
|
|
|
|
|
|
* The "sync" subcommand of "git p4" now allows users to exclude
|
|
|
|
subdirectories like its "clone" subcommand does.
|
|
|
|
|
|
|
|
* "git log --invert-grep --grep=WIP" will show only commits that do
|
|
|
|
not have the string "WIP" in their messages.
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* "git push" has been taught an "--atomic" option that makes a push
|
|
|
|
that updates more than one ref an "all-or-none" affair.
|
2015-03-18 00:05:12 +01:00
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* Extending the "push to deploy" feature that was added in 2.3, the
|
|
|
|
behaviour of "git push" when updating the branch that is checked
|
|
|
|
out can now be tweaked by a "push-to-checkout" hook.
|
2015-03-18 00:05:12 +01:00
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* HTTP-based transports now send Accept-Language when making
|
|
|
|
requests. The languages to accept are inferred from environment
|
|
|
|
variables on the client side (LANGUAGE, etc).
|
2015-03-18 00:05:12 +01:00
|
|
|
|
|
|
|
* "git send-email" used to accept a mistaken "y" (or "yes") as an
|
2015-04-23 14:27:50 +02:00
|
|
|
answer to "What encoding do you want to use [UTF-8]?" without
|
|
|
|
questioning. Now it asks for confirmation when the answer looks too
|
|
|
|
short to be a valid encoding name.
|
2015-03-18 00:05:12 +01:00
|
|
|
|
|
|
|
* When "git apply --whitespace=fix" fixed whitespace errors in the
|
|
|
|
common context lines, the command reports that it did so.
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* "git status" now allows the "-v" option to be given twice, in which
|
|
|
|
case it also shows the differences in the working tree that are not
|
|
|
|
staged to be committed.
|
2015-03-18 00:05:12 +01:00
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* "git cherry-pick" used to clean up the log message even when it is
|
|
|
|
merely replaying an existing commit. It now replays the message
|
|
|
|
verbatim unless you are editing the message of the resulting
|
|
|
|
commit.
|
2015-03-18 00:05:12 +01:00
|
|
|
|
|
|
|
* "git archive" can now be told to set the 'text' attribute in the
|
|
|
|
resulting zip archive.
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* Output from "git log --decorate" now distinguishes between a
|
|
|
|
detached HEAD vs. a HEAD that points at a branch.
|
2015-03-20 21:31:53 +01:00
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
This is a potentially backward-incompatible change; see above for
|
|
|
|
more information.
|
2015-03-20 21:31:53 +01:00
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* When HEAD was detached when at commit xyz and hasn't been moved
|
|
|
|
since it was detached, "git status" would report "detached at xyz"
|
|
|
|
whereas "git branch" would report "detached from xyz". Now the
|
|
|
|
output of "git branch" agrees with that of "git status".
|
2015-03-20 21:31:53 +01:00
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
This is a potentially backward-incompatible change; see above for
|
|
|
|
more information.
|
|
|
|
|
|
|
|
* "git -C '' subcmd" now works in the current directory (analogously
|
|
|
|
to "cd ''") rather than dying with an error message.
|
2015-03-20 21:31:53 +01:00
|
|
|
(merge 6a536e2 kn/git-cd-to-empty later to maint).
|
|
|
|
|
2015-04-23 14:27:48 +02:00
|
|
|
* The versionsort.prereleaseSuffix configuration variable can be used
|
2015-04-23 14:27:50 +02:00
|
|
|
to specify that, for example, v1.0-pre1 comes before v1.0.
|
2015-03-20 21:31:53 +01:00
|
|
|
|
2015-03-23 19:36:01 +01:00
|
|
|
* A new "push.followTags" configuration turns the "--follow-tags"
|
|
|
|
option on by default for the "git push" command.
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* "git log --graph --no-walk A B..." is a nonsensical combination of
|
|
|
|
options: "--no-walk" requests discrete points in the history, while
|
|
|
|
"--graph" asks to draw connections between these discrete points.
|
|
|
|
Forbid the use of these options together.
|
2015-03-25 21:01:07 +01:00
|
|
|
|
|
|
|
* "git rev-list --bisect --first-parent" does not work (yet) and can
|
2015-04-23 14:27:50 +02:00
|
|
|
even cause SEGV; forbid it. "git log --bisect --first-parent" would
|
|
|
|
not be useful until "git bisect --first-parent" materializes, so
|
|
|
|
also forbid it for now.
|
2015-03-25 21:01:07 +01:00
|
|
|
|
2015-03-18 00:05:12 +01:00
|
|
|
|
|
|
|
Performance, Internal Implementation, Development Support etc.
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* Slightly change the implementation of the N_() macro to help us
|
2015-03-18 00:05:12 +01:00
|
|
|
detect mistakes.
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* Restructure the implementation of "reflog expire" to fit better
|
|
|
|
with the recently updated reference API.
|
2015-03-18 00:05:12 +01:00
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* The transport-helper did not pass transport options such as
|
2015-03-18 00:05:12 +01:00
|
|
|
verbosity, progress, cloning, etc. to import and export based
|
|
|
|
helpers, like it did for fetch and push based helpers, robbing them
|
2015-04-23 14:27:50 +02:00
|
|
|
of the chance to honor the wish of the end-users better.
|
|
|
|
|
|
|
|
* The tests that wanted to see that a file becomes unreadable after
|
|
|
|
running "chmod a-r file", and the tests that wanted to make sure
|
|
|
|
that they are not run as root, used "can we write into the /
|
|
|
|
directory?" as a cheap substitute. But on some platforms that is
|
|
|
|
not a good heuristic. The tests and their prerequisites have been
|
|
|
|
updated to check what they really require.
|
2015-03-18 00:05:12 +01:00
|
|
|
(merge f400e51 jk/sanity later to maint).
|
|
|
|
|
|
|
|
* Various issues around "reflog expire", e.g. using --updateref when
|
|
|
|
expiring a reflog for a symbolic reference, have been corrected
|
|
|
|
and/or made saner.
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* The documentation for the strbuf API had been split between the API
|
|
|
|
documentation and the header file. Consolidate the documentation in
|
|
|
|
strbuf.h.
|
2015-03-18 00:05:12 +01:00
|
|
|
|
|
|
|
* The error handling functions and conventions are now documented in
|
2015-04-23 14:27:50 +02:00
|
|
|
the API manual (in api-error-handling.txt).
|
2015-03-18 00:05:12 +01:00
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* Optimize gitattribute look-up, mostly useful in "git grep" on a
|
2015-03-18 00:05:12 +01:00
|
|
|
project that does not use many attributes, by avoiding it when we
|
|
|
|
(should) know that the attributes are not defined in the first
|
|
|
|
place.
|
|
|
|
|
|
|
|
* Typofix in comments.
|
|
|
|
(merge ef2956a ak/git-pm-typofix later to maint).
|
|
|
|
|
|
|
|
* Code clean-up.
|
|
|
|
(merge 0b868f0 sb/hex-object-name-is-at-most-41-bytes-long later to maint).
|
|
|
|
(merge 5d30851 dp/remove-duplicated-header-inclusion later to maint).
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* Simplify the ref transaction API for verifying that "the ref should
|
|
|
|
be pointing at this object".
|
2015-03-18 00:05:12 +01:00
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* Simplify the code in "git daemon" that parses out and holds
|
|
|
|
hostnames used in request interpolation.
|
2015-03-20 21:31:53 +01:00
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* Restructure the "git push" codepath to make it easier to add new
|
|
|
|
configuration bits.
|
2015-03-23 19:36:01 +01:00
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* The run-command interface made it easy to make a pipe for us to
|
|
|
|
read from a process, wait for the process to finish, and then
|
|
|
|
attempt to read its output. But this pattern can lead to deadlock.
|
|
|
|
So introduce a helper to do this correctly (i.e., first read, and
|
|
|
|
then wait the process to finish) and also add code to prevent such
|
|
|
|
abuse in the run-command helper.
|
2015-03-25 21:01:07 +01:00
|
|
|
|
2015-03-26 19:59:05 +01:00
|
|
|
* People often forget to chain the commands in their test together
|
2015-04-23 14:27:50 +02:00
|
|
|
with &&, letting a failure from an earlier command in the test go
|
|
|
|
unnoticed. The new GIT_TEST_CHAIN_LINT mechanism allows you to
|
2015-03-26 19:59:05 +01:00
|
|
|
catch such a mistake more easily.
|
|
|
|
|
2015-03-18 00:05:12 +01:00
|
|
|
|
|
|
|
Also contains various documentation updates and code clean-ups.
|
|
|
|
|
|
|
|
|
|
|
|
Fixes since v2.3
|
|
|
|
----------------
|
|
|
|
|
|
|
|
Unless otherwise noted, all the fixes since v2.3 in the maintenance
|
|
|
|
track are contained in this release (see the maintenance releases'
|
|
|
|
notes for details).
|
|
|
|
|
|
|
|
* "git blame HEAD -- missing" failed to correctly say "HEAD" when it
|
|
|
|
tried to say "No such path 'missing' in HEAD".
|
|
|
|
(merge a46442f jk/blame-commit-label later to maint).
|
|
|
|
|
|
|
|
* "git rerere" (invoked internally from many mergy operations) did
|
2015-04-23 14:27:50 +02:00
|
|
|
not correctly signal errors when it attempted to update the working
|
|
|
|
tree files but failed for whatever reason.
|
2015-03-18 00:05:12 +01:00
|
|
|
(merge 89ea903 jn/rerere-fail-on-auto-update-failure later to maint).
|
|
|
|
|
|
|
|
* Setting diff.submodule to 'log' made "git format-patch" produce
|
|
|
|
broken patches.
|
|
|
|
(merge 339de50 dk/format-patch-ignore-diff-submodule later to maint).
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* After attempting and failing a password-less authentication (e.g.,
|
|
|
|
Kerberos), libcURL refuses to fall back to password-based Basic
|
|
|
|
authentication without a bit of help/encouragement.
|
2015-03-18 00:05:12 +01:00
|
|
|
(merge 4dbe664 bc/http-fallback-to-password-after-krb-fails later to maint).
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* The "git push" documentation for the "--repo=<there>" option was
|
2015-03-18 00:05:12 +01:00
|
|
|
easily misunderstood.
|
|
|
|
(merge 57b92a7 mg/push-repo-option-doc later to maint).
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* Code to read a branch name from various files in the .git/
|
|
|
|
directory would have overrun array limits if asked to read an empty
|
|
|
|
file.
|
2015-03-18 00:05:12 +01:00
|
|
|
(merge 66ec904 jk/status-read-branch-name-fix later to maint).
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* Remove a superfluous conditional that is always true.
|
2015-03-18 00:05:12 +01:00
|
|
|
(merge 94ee8e2 jk/remote-curl-an-array-in-struct-cannot-be-null later to maint).
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* The "git diff --raw" documentation incorrectly implied that C(opy)
|
|
|
|
and R(ename) are the only statuses that can be followed by a score
|
|
|
|
number.
|
2015-03-18 00:05:12 +01:00
|
|
|
(merge ac1c2d9 jc/diff-format-doc later to maint).
|
|
|
|
|
|
|
|
* A broken pack .idx file in the receiving repository prevented the
|
|
|
|
dumb http transport from fetching a good copy of it from the other
|
|
|
|
side.
|
|
|
|
(merge 8b9c2dd jk/dumb-http-idx-fetch-fix later to maint).
|
|
|
|
|
|
|
|
* The error message from "git commit", when a non-existing author
|
|
|
|
name was given as value to the "--author=" parameter, has been
|
|
|
|
reworded to avoid misunderstanding.
|
|
|
|
(merge 1044b1f mg/commit-author-no-match-malformed-message later to maint).
|
|
|
|
|
|
|
|
* "git log --help" used to show rev-list options that are irrelevant
|
|
|
|
to the "log" command.
|
|
|
|
(merge 3cab02d jc/doc-log-rev-list-options later to maint).
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* "git apply --whitespace=fix" used to under-allocate memory when the
|
|
|
|
fix resulted in a longer text than the original patch.
|
2015-03-18 00:05:12 +01:00
|
|
|
(merge 407a792 jc/apply-ws-fix-expands later to maint).
|
|
|
|
|
|
|
|
* The interactive "show a list and let the user choose from it"
|
2015-04-23 14:27:50 +02:00
|
|
|
interface used by "git add -i" unnecessarily prompted the user even
|
|
|
|
when the candidate list was empty, against which the only "choice"
|
|
|
|
the user could have made was to choose nothing.
|
2015-03-18 00:05:12 +01:00
|
|
|
(merge a9c4641 ak/add-i-empty-candidates later to maint).
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* The todo list created by "git rebase -i" did not fully honor
|
2015-03-18 00:05:12 +01:00
|
|
|
core.abbrev settings.
|
|
|
|
(merge edb72d5 ks/rebase-i-abbrev later to maint).
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* "git fetch" over a remote-helper that cannot respond to the "list"
|
|
|
|
command could not fetch from a symbolic reference (e.g., HEAD).
|
2015-03-18 00:05:12 +01:00
|
|
|
(merge 33cae54 mh/deref-symref-over-helper-transport later to maint).
|
|
|
|
|
|
|
|
* "git push --signed" gave an incorrectly worded error message when
|
|
|
|
the other side did not support the capability.
|
2015-04-21 00:30:13 +02:00
|
|
|
|
|
|
|
* The "git push --signed" protocol extension did not limit what the
|
2015-04-23 14:27:50 +02:00
|
|
|
"nonce" (a server-chosen string) could contain nor how long it
|
|
|
|
could be, which was unnecessarily lax. Limit both the length and
|
|
|
|
the alphabet to a reasonably small space that can still have enough
|
2015-04-21 00:30:13 +02:00
|
|
|
entropy.
|
|
|
|
(merge afcb6ee jc/push-cert later to maint).
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* The completion script (in contrib/) clobbered the shell variable $x
|
|
|
|
in the global shell namespace.
|
2015-04-21 00:30:13 +02:00
|
|
|
(merge 852ff1c ma/bash-completion-leaking-x later to maint).
|
2015-03-18 00:05:12 +01:00
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* We incorrectly formatted a "uintmax_t" integer that doesn't fit in
|
|
|
|
"int".
|
2015-03-18 00:05:12 +01:00
|
|
|
(merge d306f3d jk/decimal-width-for-uintmax later to maint).
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* The configuration parser used to be confused when reading
|
|
|
|
configuration from a blob object that ends with a lone CR.
|
2015-03-18 00:05:12 +01:00
|
|
|
(merge 1d0655c jk/config-no-ungetc-eof later to maint).
|
|
|
|
|
|
|
|
* The pack bitmap support did not build with older versions of GCC.
|
|
|
|
(merge bd4e882 jk/pack-bitmap later to maint).
|
|
|
|
|
|
|
|
* The documentation wasn't clear that "remote.<nick>.pushURL" and
|
|
|
|
"remote.<nick>.URL" are there to name the same repository accessed
|
|
|
|
via different transports, not two separate repositories.
|
|
|
|
(merge 697f652 jc/remote-set-url-doc later to maint).
|
|
|
|
|
|
|
|
* Older GnuPG implementations may not correctly import the keyring
|
|
|
|
material we prepare for the tests to use.
|
|
|
|
(merge 1f985d6 ch/new-gpg-drops-rfc-1991 later to maint).
|
|
|
|
|
|
|
|
* The credential helper for Windows (in contrib/) used to mishandle
|
2015-04-23 14:27:50 +02:00
|
|
|
user names that contain an at-sign.
|
2015-03-18 00:05:12 +01:00
|
|
|
(merge 13d261e av/wincred-with-at-in-username-fix later to maint).
|
|
|
|
|
2015-04-14 20:57:13 +02:00
|
|
|
* "diff-highlight" (in contrib/) used to show byte-by-byte
|
2015-04-23 14:27:50 +02:00
|
|
|
differences, which could cause multi-byte characters to be chopped
|
|
|
|
in the middle. It learned to pay attention to character boundaries
|
|
|
|
(assuming UTF-8).
|
2015-04-14 20:57:13 +02:00
|
|
|
(merge 8d00662 jk/colors later to maint).
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* Document longstanding configuration variable naming rules in
|
|
|
|
CodingGuidelines.
|
2015-03-18 00:05:12 +01:00
|
|
|
(merge 35840a3 jc/conf-var-doc later to maint).
|
|
|
|
|
|
|
|
* An earlier workaround to squelch unhelpful deprecation warnings
|
2015-04-23 14:27:50 +02:00
|
|
|
from the compiler on OS X unnecessarily set a minimum required
|
2015-03-18 00:05:12 +01:00
|
|
|
version of the OS, which the user might want to raise (or lower)
|
|
|
|
for other reasons.
|
|
|
|
(merge 88c03eb es/squelch-openssl-warnings-on-macosx later to maint).
|
|
|
|
|
|
|
|
* Certain older vintages of cURL give irregular output from
|
|
|
|
"curl-config --vernum", which confused our build system.
|
|
|
|
(merge 3af6792 tc/curl-vernum-output-broken-in-7.11 later to maint).
|
|
|
|
|
|
|
|
* In v2.2.0, we broke "git prune" that runs in a repository that
|
|
|
|
borrows from an alternate object store.
|
|
|
|
(merge b0a4264 jk/prune-mtime later to maint).
|
|
|
|
|
|
|
|
* "git submodule add" failed to squash "path/to/././submodule" to
|
|
|
|
"path/to/submodule".
|
|
|
|
(merge 8196e72 ps/submodule-sanitize-path-upon-add later to maint).
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* "git merge-file" did not work correctly when invoked in a
|
|
|
|
subdirectory.
|
2015-03-18 00:05:12 +01:00
|
|
|
(merge 204a8ff ab/merge-file-prefix later to maint).
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* "git blame" could die trying to free an uninitialized piece of
|
|
|
|
memory.
|
2015-03-18 00:05:12 +01:00
|
|
|
(merge e600592 es/blame-commit-info-fix later to maint).
|
|
|
|
|
|
|
|
* "git fast-import" used to crash when it could not close and
|
2015-04-23 14:27:50 +02:00
|
|
|
finalize the resulting packfile cleanly.
|
2015-03-18 00:05:12 +01:00
|
|
|
(merge 5e915f3 jk/fast-import-die-nicely-fix later to maint).
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* "update-index --refresh" used to leak memory when an entry could
|
|
|
|
not be refreshed for whatever reason.
|
2015-03-18 00:05:12 +01:00
|
|
|
(merge bc1c2ca sb/plug-leak-in-make-cache-entry later to maint).
|
|
|
|
|
|
|
|
* The "interpolated-path" option of "git daemon" inserted any string
|
2015-04-23 14:27:50 +02:00
|
|
|
the client declared on the "host=" capability request without
|
|
|
|
checking. Sanitize and limit %H and %CH to a saner and a valid DNS
|
|
|
|
name.
|
2015-03-18 00:05:12 +01:00
|
|
|
(merge b485373 jk/daemon-interpolate later to maint).
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* "git daemon" unnecessarily looked up the hostname even when "%CH"
|
|
|
|
and "%IP" interpolations were not requested.
|
2015-03-18 00:05:12 +01:00
|
|
|
(merge dc8edc8 rs/daemon-interpolate later to maint).
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* We relied on "--no-" prefix handling in Perl's Getopt::Long
|
|
|
|
package, even though that support didn't exist in Perl 5.8 (which
|
|
|
|
we still support). Manually add support to help people with older
|
|
|
|
Getopt::Long packages.
|
2015-03-18 00:05:12 +01:00
|
|
|
(merge f471494 km/send-email-getopt-long-workarounds later to maint).
|
|
|
|
|
|
|
|
* "git apply" was not very careful about reading from, removing,
|
|
|
|
updating and creating paths outside the working tree (under
|
|
|
|
--index/--cached) or the current directory (when used as a
|
|
|
|
replacement for GNU patch).
|
|
|
|
(merge e0d201b jc/apply-beyond-symlink later to maint).
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* Correct a breakage in git-svn, introduced around the v2.2 era, that
|
|
|
|
can cause FileHandles to be closed prematurely.
|
2015-03-18 00:05:12 +01:00
|
|
|
(merge e426311 ew/svn-maint-fixes later to maint).
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* We did not parse usernames followed by literal IPv6 addresses
|
|
|
|
correctly in SSH transport URLs; e.g.,
|
|
|
|
ssh://user@[2001:db8::1]:22/repo.git.
|
2015-04-14 20:57:13 +02:00
|
|
|
(merge 6b6c5f7 tb/connect-ipv6-parse-fix later to maint).
|
2015-03-18 00:05:12 +01:00
|
|
|
|
|
|
|
* The configuration variable 'mailinfo.scissors' was hard to
|
|
|
|
discover in the documentation.
|
|
|
|
(merge afb5de7 mm/am-c-doc later to maint).
|
|
|
|
|
|
|
|
* The interaction between "git submodule update" and the
|
|
|
|
submodule.*.update configuration was not clearly documented.
|
|
|
|
(merge 5c31acf ms/submodule-update-config-doc later to maint).
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* "git diff --shortstat" used together with "--dirstat=changes" or
|
|
|
|
"--dirstat=files" incorrectly output dirstat information twice.
|
2015-03-18 00:05:12 +01:00
|
|
|
(merge ab27389 mk/diff-shortstat-dirstat-fix later to maint).
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* The manpage for "git remote add" mentioned "--tags" and "--no-tags"
|
|
|
|
but did not explain what happens if neither option is provided.
|
2015-03-18 00:05:12 +01:00
|
|
|
(merge aaba0ab mg/doc-remote-tags-or-not later to maint).
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* The description of "--exclude-standard option" in the output of
|
|
|
|
"git grep -h" was phrased poorly.
|
2015-03-18 00:05:12 +01:00
|
|
|
(merge 77fdb8a nd/grep-exclude-standard-help-fix later to maint).
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* "git rebase -i" recently started to include the number of commits
|
|
|
|
in the todo list, but that output included extraneous whitespace on
|
|
|
|
a platform that prepends leading whitespaces to its "wc -l" output.
|
2015-03-18 00:05:12 +01:00
|
|
|
(merge 2185d3b es/rebase-i-count-todo later to maint).
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* The borrowed code in the kwset API did not follow our usual
|
|
|
|
convention to use "unsigned char" to store values that range from
|
|
|
|
0-255.
|
2015-03-18 00:05:12 +01:00
|
|
|
(merge 189c860 bw/kwset-use-unsigned later to maint).
|
|
|
|
|
|
|
|
* A corrupt input to "git diff -M" used to cause it to segfault.
|
|
|
|
(merge 4d6be03 jk/diffcore-rename-duplicate later to maint).
|
|
|
|
|
2015-03-20 21:31:53 +01:00
|
|
|
* Certain builds of GPG triggered false breakages in a test.
|
|
|
|
(merge 3f88c1b mg/verify-commit later to maint).
|
|
|
|
|
|
|
|
* "git imap-send" learned to optionally talk with an IMAP server via
|
2015-04-23 14:27:50 +02:00
|
|
|
libcURL. Because there is no other option when Git is built with
|
|
|
|
the NO_OPENSSL option, use libcURL by default in that case.
|
2015-03-20 21:31:53 +01:00
|
|
|
(merge dcd01ea km/imap-send-libcurl-options later to maint).
|
|
|
|
|
|
|
|
* "git log --decorate" did not reset colors correctly around the
|
|
|
|
branch names.
|
|
|
|
(merge 5ee8758 jc/decorate-leaky-separator-color later to maint).
|
|
|
|
|
2015-03-23 19:36:01 +01:00
|
|
|
* The code that reads from the ctags file in the completion script
|
|
|
|
(in contrib/) did not spell ${param/pattern/string} substitution
|
|
|
|
correctly, which happened to work with bash but not with zsh.
|
|
|
|
(merge db8d750 js/completion-ctags-pattern-substitution-fix later to maint).
|
|
|
|
|
|
|
|
* The transfer.hiderefs support did not quite work for smart-http
|
|
|
|
transport.
|
|
|
|
(merge 8ddf3ca jk/smart-http-hide-refs later to maint).
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* In the "git tag -h" output, move the documentation for the
|
|
|
|
"--column" and "--sort" options to the "Tag listing options"
|
|
|
|
section.
|
2015-03-23 19:36:01 +01:00
|
|
|
(merge dd059c6 jk/tag-h-column-is-a-listing-option later to maint).
|
|
|
|
|
2015-03-25 21:01:07 +01:00
|
|
|
* "git prune" used to largely ignore broken refs when deciding which
|
2015-04-23 14:27:50 +02:00
|
|
|
objects are still being used, which could cause reference
|
|
|
|
corruption to lead to object loss.
|
2015-03-25 21:01:07 +01:00
|
|
|
(merge ea56c4e jk/prune-with-corrupt-refs later to maint).
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* The split-index mode introduced in v2.3.0-rc0~41 was broken in the
|
2015-03-25 21:01:07 +01:00
|
|
|
codepath to protect us against a broken reimplementation of Git
|
|
|
|
that writes an invalid index with duplicated index entries, etc.
|
|
|
|
(merge 03f15a7 tg/fix-check-order-with-split-index later to maint).
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* "git fetch", when fetching a commit using the
|
|
|
|
allow-tip-sha1-in-want extension, could have failed to fetch all of
|
|
|
|
the requested refs.
|
2015-03-25 21:01:07 +01:00
|
|
|
(merge 32d0462 jk/fetch-pack later to maint).
|
|
|
|
|
|
|
|
* An failure early in the "git clone" that started creating the
|
2015-04-23 14:27:50 +02:00
|
|
|
working tree and repository could have resulted in the failure to
|
|
|
|
clean up some directories and files.
|
2015-03-25 21:01:07 +01:00
|
|
|
(merge 16eff6c jk/cleanup-failed-clone later to maint).
|
|
|
|
|
|
|
|
* Recommend format-patch and send-email for those who want to submit
|
|
|
|
patches to this project.
|
|
|
|
(merge b25c469 jc/submitting-patches-mention-send-email later to maint).
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* Do not spawn the pager when "git grep" is run with "--quiet".
|
2015-03-25 21:01:07 +01:00
|
|
|
(merge c2048f0 ws/grep-quiet-no-pager later to maint).
|
|
|
|
|
|
|
|
* The prompt script (in contrib/) did not show the untracked sign
|
|
|
|
when working in a subdirectory without any untracked files.
|
|
|
|
(merge 9bdc517 ct/prompt-untracked-fix later to maint).
|
|
|
|
|
2015-04-23 14:27:50 +02:00
|
|
|
* An earlier update to the URL parser broke an address that contains
|
|
|
|
a colon but an empty string for the port number, like
|
|
|
|
ssh://example.com:/path/to/repo.
|
2015-04-21 00:30:13 +02:00
|
|
|
(merge 6b6c5f7 tb/connect-ipv6-parse-fix later to maint).
|
|
|
|
|
2015-03-23 19:36:01 +01:00
|
|
|
* Code cleanups and documentation updates.
|
2015-03-18 00:05:12 +01:00
|
|
|
(merge 2ce63e9 rs/simple-cleanups later to maint).
|
|
|
|
(merge 33baa69 rj/no-xopen-source-for-cygwin later to maint).
|
|
|
|
(merge 817d03e jc/diff-test-updates later to maint).
|
|
|
|
(merge eb32c66 ak/t5516-typofix later to maint).
|
|
|
|
(merge bcd57cb mr/doc-clean-f-f later to maint).
|
|
|
|
(merge 0d6accc mg/doc-status-color-slot later to maint).
|
|
|
|
(merge 53e53c7 sg/completion-remote later to maint).
|
|
|
|
(merge 8fa7975 ak/git-done-help-cleanup later to maint).
|
|
|
|
(merge 9a6f128 rs/deflate-init-cleanup later to maint).
|
2015-03-20 21:31:53 +01:00
|
|
|
(merge 6f75d45 rs/use-isxdigit later to maint).
|
2015-03-23 19:36:01 +01:00
|
|
|
(merge 376e4b3 jk/test-annoyances later to maint).
|
2015-03-25 21:01:07 +01:00
|
|
|
(merge 7032054 nd/doc-git-index-version later to maint).
|
|
|
|
(merge e869c5e tg/test-index-v4 later to maint).
|
|
|
|
(merge 599d223 jk/simplify-csum-file-sha1fd-check later to maint).
|
2015-03-26 19:59:05 +01:00
|
|
|
(merge 260d585 sg/completion-gitcomp-nl-for-refs later to maint).
|
|
|
|
(merge 777c55a jc/report-path-error-to-dir later to maint).
|
2015-03-28 17:41:51 +01:00
|
|
|
(merge fddfaf8 ph/push-doc-cas later to maint).
|
2015-04-14 20:57:13 +02:00
|
|
|
(merge d50d31e ss/pull-rebase-preserve later to maint).
|
|
|
|
(merge c8c3f1d pt/enter-repo-comment-fix later to maint).
|
|
|
|
(merge d7bfb9e jz/gitweb-conf-doc-fix later to maint).
|
|
|
|
(merge f907282 jk/cherry-pick-docfix later to maint).
|
|
|
|
(merge d3c0811 iu/fix-parse-options-h-comment later to maint).
|
|
|
|
(merge 6c3b2af jg/cguide-we-cannot-count later to maint).
|
|
|
|
(merge 2b8bd44 jk/pack-corruption-post-mortem later to maint).
|
|
|
|
(merge 9585cb8 jn/doc-fast-import-no-16-octopus-limit later to maint).
|
2015-04-21 00:30:13 +02:00
|
|
|
(merge 5dcd1b1 ps/grep-help-all-callback-arg later to maint).
|
|
|
|
(merge f1f4c84 va/fix-git-p4-tests later to maint).
|