Skip to content

Commit 0953113

Browse files
committed
Second batch for 2.1
Signed-off-by: Junio C Hamano <[email protected]>
1 parent 75866e6 commit 0953113

File tree

1 file changed

+87
-0
lines changed

1 file changed

+87
-0
lines changed

Documentation/RelNotes/2.1.0.txt

+87
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,61 @@
11
Git v2.1 Release Notes
22
======================
33

4+
Backward compatibility notes
5+
----------------------------
6+
7+
* The default value we give to the environment variable LESS has been
8+
changed from "FRSX" to "FRX", losing "S" (chop long lines instead
9+
of wrapping). Existing users who prefer not to see line-wrapped
10+
output may want to set
11+
12+
$ git config core.pager "less -S"
13+
14+
to restore the traditional behaviour. It is expected that people
15+
find output from the most subcommands easier to read with the new
16+
default, except for "blame" which tends to produce really long
17+
lines. To override the new default only for "git blame", you can
18+
do this:
19+
20+
$ git config pager.blame "less -S"
21+
22+
* A few disused directories in contrib/ have been retired.
23+
24+
425
Updates since v2.0
526
------------------
627

728
UI, Workflows & Features
829

30+
* Since the very beginning of Git, we gave the LESS environment a
31+
default value "FRSX" when we spawn "less" as the pager. "S" (chop
32+
long lines instead of wrapping) has been removed from this default
33+
set of options, because it is more or less a personal taste thing,
34+
as opposed to others that have good justifications (i.e. "R" is
35+
very much justified because many kinds of output we produce are
36+
colored and "FX" is justified because output we produce is often
37+
shorter than a page).
38+
39+
* The logic and data used to compute the display width needed for
40+
UTF-8 strings have been updated to match Unicode 6.3 better.
41+
942
* "git commit --date=<date>" option learned to read from more
1043
timestamp formats, including "--date=now".
1144

45+
* The `core.commentChar` configuration variable is used to specify a
46+
custom comment character other than the default "#" to be used in
47+
the commit log editor. This can be set to `auto` to attempt to
48+
choose a different character that does not conflict with what
49+
already starts a line in the message being edited for cases like
50+
"git commit --amend".
51+
1252
* "git grep" learned grep.fullname configuration variable to force
1353
"--full-name" to be default. This may cause regressions on
1454
scripted users that do not expect this new behaviour.
1555

56+
* "git imap-send" learned to ask the credential helper for auth
57+
material.
58+
1659
* "git merge" without argument, even when there is an upstream
1760
defined for the current branch, refused to run until
1861
merge.defaultToUpstream is set to true. Flip the default of that
@@ -37,9 +80,21 @@ UI, Workflows & Features
3780
digit in the hour part, e.g. 2014-01-07T5:01:02.048176Z, emitted
3881
by some broken subversion server implementations.
3982

83+
* "git tag" when editing the tag message shows the name of the tag
84+
being edited as a comment in the editor.
85+
4086

4187
Performance, Internal Implementation, etc.
4288

89+
* Build procedure for 'subtree' (in contrib/) has been cleaned up.
90+
91+
* The `core.deltabasecachelimit` used to default to 16 MiB , but this
92+
proved to be too small, and has been bumped to 96 MiB.
93+
94+
* "git blame" has been optimized greatly by reorganising the data
95+
structure that is used to keep track of the work to be done, thanks
96+
to David Karstrup <[email protected]>.
97+
4398
* "git diff" that compares 3-or-more trees (e.g. parents and the
4499
result of a merge) have been optimized.
45100

@@ -59,6 +114,11 @@ Unless otherwise noted, all the fixes since v2.0 in the maintenance
59114
track are contained in this release (see the maintenance releases'
60115
notes for details).
61116

117+
* We used to unconditionally disable the pager in the pager process
118+
we spawn to feed out output, but that prevented people who want to
119+
run "less" within "less" from doing so.
120+
(merge c0459ca je/pager-do-not-recurse later to maint).
121+
62122
* "--ignore-space-change" option of "git apply" ignored the spaces
63123
at the beginning of line too aggressively, which is inconsistent
64124
with the option of the same name "diff" and "git diff" have.
@@ -69,15 +129,42 @@ notes for details).
69129
lines in its output.
70130
(merge dd75553 jx/blame-align-relative-time later to maint).
71131

132+
* "git blame" assigned the blame to the copy in the working-tree if
133+
the repository is set to core.autocrlf=input and the file used CRLF
134+
line endings.
135+
(merge 4d4813a bc/blame-crlf-test later to maint).
136+
137+
* "git commit --allow-empty-messag -C $commit" did not work when the
138+
commit did not have any log message.
139+
(merge 076cbd6 jk/commit-C-pick-empty later to maint).
140+
141+
* "git grep -O" to show the lines that hit in the pager did not work
142+
well with case insensitive search. We now spawn "less" with its
143+
"-I" option when it is used as the pager (which is the default).
144+
(merge f7febbe sk/spawn-less-case-insensitively-from-grep-O-i later to maint).
145+
72146
* We used to disable threaded "git index-pack" on platforms without
73147
thread-safe pread(); use a different workaround for such
74148
platforms to allow threaded "git index-pack".
75149
(merge 3953949 nd/index-pack-one-fd-per-thread later to maint).
76150

151+
* The error reporting from "git index-pack" has been improved to
152+
distinguish missing objects from type errors.
153+
(merge 77583e7 jk/index-pack-report-missing later to maint).
154+
155+
* On a case insensitive filesystem, merge-recursive incorrectly
156+
deleted the file that is to be renamed to a name that is the same
157+
except for case differences.
158+
(merge baa37bf dt/merge-recursive-case-insensitive later to maint).
159+
77160
* "git rerere forget" did not work well when merge.conflictstyle
78161
was set to a non-default value.
79162
(merge de3d8bb fc/rerere-conflict-style later to maint).
80163

164+
* "git show -s" (i.e. show log message only) used to incorrectly emit
165+
an extra blank line after a merge commit.
166+
(merge ad2f725 mk/show-s-no-extra-blank-line-for-merges later to maint).
167+
81168
* "git status", even though it is a read-only operation, tries to
82169
update the index with refreshed lstat(2) info to optimize future
83170
accesses to the working tree opportunistically, but this could

0 commit comments

Comments
 (0)