2013-05-30 00:19:12 +02:00
|
|
|
Git v1.8.4 Release Notes
|
|
|
|
========================
|
|
|
|
|
|
|
|
Updates since v1.8.3
|
|
|
|
--------------------
|
|
|
|
|
|
|
|
Foreign interface
|
|
|
|
|
|
|
|
* Remote transport helper has been updated to report errors and
|
|
|
|
maintain ref hierarchy used to keep track of its own state better.
|
|
|
|
|
2013-06-06 23:42:56 +02:00
|
|
|
* With "export" remote-helper protocol, (1) a push that tries to
|
|
|
|
update a remote ref whose name is different from the pushing side
|
|
|
|
does not work yet, and (2) the helper may not know how to do
|
|
|
|
--dry-run; these problematic cases are disabled for now.
|
2013-05-30 00:19:12 +02:00
|
|
|
|
|
|
|
UI, Workflows & Features
|
|
|
|
|
|
|
|
* "check-ignore" (new feature since 1.8.2) has been updated to work
|
|
|
|
more like "check-attr" over bidi-pipes.
|
|
|
|
|
2013-06-03 01:02:21 +02:00
|
|
|
* "git describe" learned "--first-parent" option to limit its closest
|
2013-06-06 00:14:02 +02:00
|
|
|
tagged commit search to the first-parent chain.
|
2013-06-03 01:02:21 +02:00
|
|
|
|
|
|
|
* "git merge foo" that might have meant "git merge origin/foo" is
|
|
|
|
diagnosed with a more informative error message.
|
|
|
|
|
|
|
|
* "git log -L<line>,<range>:<filename>" has been added. This may
|
|
|
|
still have leaks and rough edges, though.
|
|
|
|
|
2013-05-30 00:19:12 +02:00
|
|
|
* We used the approxidate() parser for "--expire=<timestamp>" options
|
|
|
|
of various commands, but it is better to treat --expire=all and
|
|
|
|
--expire=now a bit more specially than using the current timestamp.
|
|
|
|
"git gc" and "git reflog" have been updated with a new parsing
|
|
|
|
function for expiry dates.
|
|
|
|
|
2013-06-03 01:02:21 +02:00
|
|
|
* Updates to completion (both bash and zsh) helpers.
|
|
|
|
|
2013-06-06 00:14:02 +02:00
|
|
|
* The behaviour of the "--chain-reply-to" option of "git send-email"
|
|
|
|
have changed at 1.7.0, and we added a warning/advice message to
|
|
|
|
help users adjust to the new behaviour back then, but we kept it
|
|
|
|
around for too long. The message has finally been removed.
|
|
|
|
|
2013-06-03 01:02:21 +02:00
|
|
|
* "git fetch origin master" unlike "git fetch origin" or "git fetch"
|
|
|
|
did not update "refs/remotes/origin/master"; this was an early
|
|
|
|
design decision to keep the update of remote tracking branches
|
|
|
|
predictable, but in practice it turns out that people find it more
|
2013-06-06 00:14:02 +02:00
|
|
|
convenient to opportunistically update them whenever we have a
|
2013-06-03 01:02:21 +02:00
|
|
|
chance, and we have been updating them when we run "git push" which
|
|
|
|
already breaks the original "predictability" anyway.
|
|
|
|
|
2013-06-06 00:14:02 +02:00
|
|
|
* The configuration variable core.checkstat was advertised in the
|
|
|
|
documentation but the code expected core.statinfo instead.
|
|
|
|
For now, we accept both core.checkstat and core.statinfo, but the
|
|
|
|
latter will be removed in the longer term.
|
|
|
|
|
2013-05-30 00:19:12 +02:00
|
|
|
|
|
|
|
Performance, Internal Implementation, etc.
|
|
|
|
|
2013-06-03 01:02:21 +02:00
|
|
|
* The codepath to read from marks files in fast-import/export did not
|
|
|
|
have to accept anything but 40-hex representation of the object
|
|
|
|
name. Further, fast-export did not need full in-core object
|
|
|
|
representation to have parsed wen reading from them. These
|
|
|
|
codepaths have been optimized by taking advantage of these access
|
|
|
|
patterns.
|
|
|
|
|
2013-05-30 00:19:12 +02:00
|
|
|
* Object lookup logic, when the object hashtable starts to become
|
|
|
|
crowded, has been optimized.
|
|
|
|
|
|
|
|
* When TEST_OUTPUT_DIRECTORY setting is used, it was handled somewhat
|
|
|
|
inconsistently between the test framework and t/Makefile, and logic
|
|
|
|
to summarize the results looked at a wrong place.
|
|
|
|
|
2013-06-06 23:42:56 +02:00
|
|
|
* "git clone" uses a lighter-weight implementation when making sure
|
|
|
|
that the history behind refs are complete.
|
|
|
|
|
2013-05-30 00:19:12 +02:00
|
|
|
* Many warnings from sparse source checker in compat/ area has been
|
|
|
|
squelched.
|
|
|
|
|
|
|
|
* The code to reading and updating packed-refs file has been updated,
|
|
|
|
correcting corner case bugs.
|
|
|
|
|
|
|
|
|
|
|
|
Also contains various documentation updates and code clean-ups.
|
|
|
|
|
|
|
|
|
|
|
|
Fixes since v1.8.3
|
|
|
|
------------------
|
|
|
|
|
|
|
|
Unless otherwise noted, all the fixes since v1.8.3 in the maintenance
|
|
|
|
track are contained in this release (see release notes to them for
|
|
|
|
details).
|
|
|
|
|
2013-06-06 23:42:56 +02:00
|
|
|
* "difftool --dir-diff" did not copy back changes made by the
|
|
|
|
end-user in the diff tool backend to the working tree in some
|
|
|
|
cases.
|
|
|
|
(merge 32eaf1d ks/difftool-dir-diff-copy-fix later to maint).
|
|
|
|
|
|
|
|
* "git push $there HEAD:branch" did not resolve HEAD early enough, so
|
|
|
|
it was easy to flip it around while push is still going on and push
|
|
|
|
out a branch that the user did not originally intended when the
|
|
|
|
command was started.
|
|
|
|
(merge 0f075b2 rr/push-head later to maint).
|
|
|
|
|
|
|
|
* The bash prompt code (in contrib/) displayed the name of the branch
|
|
|
|
being rebased when "rebase -i/-m/-p" modes are in use, but not the
|
|
|
|
plain vanilla "rebase".
|
|
|
|
(merge 1306321 fc/show-branch-in-rebase-am later to maint).
|
|
|
|
|
2013-06-06 00:14:02 +02:00
|
|
|
* Handling of negative exclude pattern for directories "!dir" was
|
|
|
|
broken in the update to v1.8.3.
|
|
|
|
(merge c3c327d kb/status-ignored-optim-2 later to maint).
|
|
|
|
|
|
|
|
* zsh prompt script that borrowed from bash prompt script did not
|
|
|
|
work due to slight differences in array variable notation between
|
|
|
|
these two shells.
|
|
|
|
(merge d0583da tg/maint-zsh-svn-remote-prompt later to maint).
|
|
|
|
|
|
|
|
* An entry for "file://" scheme in the enumeration of URL types Git
|
|
|
|
can take in the HTML documentation was made into a clickable link
|
|
|
|
by mistake.
|
|
|
|
(merge 4c32e36 nd/urls-doc-no-file-hyperlink-fix later to maint).
|
|
|
|
|
|
|
|
* "git push --[no-]verify" was not documented.
|
|
|
|
(merge 90d32d1 tr/push-no-verify-doc later to maint).
|
|
|
|
|
|
|
|
* Stop installing the git-remote-testpy script that is only used for
|
|
|
|
testing.
|
|
|
|
(merge 416fda6 fc/makefile later to maint).
|
|
|
|
|
|
|
|
* "git commit --allow-empty-message -m ''" should not start an
|
|
|
|
editor.
|
|
|
|
(merge 2520677 rs/commit-m-no-edit later to maint).
|
|
|
|
|
2013-06-03 01:02:21 +02:00
|
|
|
* "git merge @{-1}~22" was rewritten to "git merge frotz@{1}~22"
|
|
|
|
incorrectly when your previous branch was "frotz" (it should be
|
|
|
|
rewritten to "git merge frotz~22" instead).
|
|
|
|
(merge 84cf246 jc/strbuf-branchname-fix later to maint).
|
|
|
|
|
|
|
|
* "git diff -c -p" was not showing a deleted line from a hunk when
|
|
|
|
another hunk immediately begins where the earlier one ends.
|
|
|
|
(merge aac3857 mk/combine-diff-context-horizon-fix later to maint).
|
|
|
|
|
|
|
|
* "git log --ancestry-path A...B" did not work as expected, as it did
|
|
|
|
not pay attention to the fact that the merge base between A and B
|
|
|
|
was the bottom of the range being specified.
|
|
|
|
(merge a765499 kb/ancestry-path-threedots later to maint).
|
|
|
|
|
|
|
|
* Mac OS X does not like to write(2) more than INT_MAX number of
|
|
|
|
bytes; work it around by chopping write(2) into smaller pieces.
|
|
|
|
(merge 6c642a8 fc/macos-x-clipped-write later to maint).
|
|
|
|
|
|
|
|
* Newer MacOS X encourages the programs to compile and link with
|
|
|
|
their CommonCrypto, not with OpenSSL.
|
|
|
|
(merge be4c828 da/darwin later to maint).
|
|
|
|
|
|
|
|
* "git clone foo/bar:baz" cannot be a request to clone from a remote
|
|
|
|
over git-over-ssh specified in the scp style. This case is now
|
|
|
|
detected and clones from a local repository at "foo/bar:baz".
|
|
|
|
(merge 6000334 nd/clone-local-with-colon later to maint).
|
|
|
|
|
2013-05-30 00:19:12 +02:00
|
|
|
* When $HOME is misconfigured to point at an unreadable directory, we
|
|
|
|
used to complain and die. Loosen the check.
|
|
|
|
(merge 4698c8f jn/config-ignore-inaccessible later to maint).
|
|
|
|
|
|
|
|
* "git subtree" (in contrib/) had one codepath with loose error
|
|
|
|
checks to lose data at the remote side.
|
|
|
|
(merge 3212d56 jk/subtree-do-not-push-if-split-fails later to maint).
|
|
|
|
|
|
|
|
* "git fetch" into a shallow repository from a repository that does
|
|
|
|
not know about the shallow boundary commits (e.g. a different fork
|
|
|
|
from the repository the current shallow repository was cloned from)
|
|
|
|
did not work correctly.
|
|
|
|
(merge 71d5f93 mh/fetch-into-shallow later to maint).
|
|
|
|
|
|
|
|
* "git checkout foo" DWIMs the intended "upstream" and turns it into
|
|
|
|
"git checkout -t -b foo remotes/origin/foo". This codepath has been
|
|
|
|
updated to correctly take existing remote definitions into account.
|
|
|
|
(merge 229177a jh/checkout-auto-tracking later to maint).
|