Skip to content

Commit 3ee1e0f

Browse files
committed
Second batch for 2.8 cycle
Signed-off-by: Junio C Hamano <[email protected]>
1 parent 52bae62 commit 3ee1e0f

File tree

1 file changed

+79
-2
lines changed

1 file changed

+79
-2
lines changed

Documentation/RelNotes/2.8.0.txt

Lines changed: 79 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,23 @@ UI, Workflows & Features
1111

1212
* "git blame" learned to produce the progress eye-candy when it takes
1313
too much time before emitting the first line of the result.
14-
(merge aba37f4 ea/blame-progress later to maint).
1514

1615
* "git grep" can now be configured (or told from the command line)
1716
how many threads to use when searching in the working tree files.
18-
(merge 89f09dd vl/grep-configurable-threads later to maint).
17+
18+
* Some "git notes" operations, e.g. "git log --notes=<note>", should
19+
be able to read notes from any tree-ish that is shaped like a notes
20+
tree, but the notes infrastructure required that the argument must
21+
be a ref under refs/notes/. Loosen it to require a valid ref only
22+
when the operation would update the notes (in which case we must
23+
have a place to store the updated notes tree, iow, a ref).
24+
25+
* "git grep" by default does not fall back to its "--no-index"
26+
behaviour outside a directory under Git's control (otherwise the
27+
user may by mistake end up running a huge recursive search); with a
28+
new configuration (set in $HOME/.gitconfig--by definition this
29+
cannot be set in the config file per project), this safety can be
30+
disabled.
1931

2032

2133
Performance, Internal Implementation, Development Support etc.
@@ -26,6 +38,17 @@ Performance, Internal Implementation, Development Support etc.
2638
* A slight update to the Makefile to mark "phoney" targets
2739
as such correctly.
2840

41+
* In-core storage of the reverse index for .pack files (which lets
42+
you go from a pack offset to an object name) has been streamlined.
43+
44+
* d95138e6 (setup: set env $GIT_WORK_TREE when work tree is set, like
45+
$GIT_DIR, 2015-06-26) attempted to work around a glitch in alias
46+
handling by overwriting GIT_WORK_TREE environment variable to
47+
affect subprocesses when set_git_work_tree() gets called, which
48+
resulted in a rather unpleasant regression to "clone" and "init".
49+
Try to address the same issue by always restoring the environment
50+
and respawning the real underlying command when handling alias.
51+
2952

3053
Also contains various documentation updates and code clean-ups.
3154

@@ -42,3 +65,57 @@ notes for details).
4265
interfering when they tried to use a different working tree without
4366
setting GIT_WORK_TREE environment themselves.
4467
(merge df1e6ea nd/stop-setenv-work-tree later to maint).
68+
69+
* The "exclude_list" structure has the usual "alloc, nr" pair of
70+
fields to be used by ALLOC_GROW(), but clear_exclude_list() forgot
71+
to reset 'alloc' to 0 when it cleared 'nr' to discard the managed
72+
array.
73+
(merge 2653a8c nd/dir-exclude-cleanup later to maint).
74+
75+
* Paths that have been told the index about with "add -N" are not
76+
quite yet in the index, but a few commands behaved as if they
77+
already are in a harmful way.
78+
(merge 4d55200 nd/ita-cleanup later to maint).
79+
80+
* "git send-email" was confused by escaped quotes stored in the alias
81+
files saved by "mutt", which has been corrected.
82+
(merge 2c510f2 ew/send-email-mutt-alias-fix later to maint).
83+
84+
* A few unportable C construct have been spotted by clang compiler
85+
and have been fixed.
86+
(merge a0df2e5 jk/clang-pedantic later to maint).
87+
88+
* The documentation has been updated to hint the connection between
89+
the '--signoff' option and DCO.
90+
(merge b2c150d dw/signoff-doc later to maint).
91+
92+
* "git reflog" incorrectly assumed that all objects that used to be
93+
at the tip of a ref must be commits, which caused it to segfault.
94+
(merge aecad37 dk/reflog-walk-with-non-commit later to maint).
95+
96+
* The ignore mechanism saw a few regressions around untracked file
97+
listing and sparse checkout selection areas in 2.7.0; the change
98+
that is responsible for the regression has been reverted.
99+
(merge 8c72236 nd/exclusion-regression-fix later to maint).
100+
101+
* Some codepaths used fopen(3) when opening a fixed path in $GIT_DIR
102+
(e.g. COMMIT_EDITMSG) that is meant to be left after the command is
103+
done. This however did not work well if the repository is set to
104+
be shared with core.sharedRepository and the umask of the previous
105+
user is tighter. They have been made to work better by calling
106+
unlink(2) and retrying after fopen(3) fails with EPERM.
107+
(merge ea56518 js/fopen-harder later to maint).
108+
109+
* Asking gitweb for a nonexistent commit left a warning in the server
110+
log.
111+
112+
Somebody may want to follow this up with an additional test, perhaps?
113+
IIRC, we do test that no Perl warnings are given to the server log,
114+
so this should have been caught if our test coverage were good.
115+
(merge a9eb90a ho/gitweb-squelch-undef-warning later to maint).
116+
117+
* Other minor clean-ups and documentation updates
118+
(merge 99487cf ss/user-manual later to maint).
119+
(merge e914ef0 ew/for-each-ref-doc later to maint).
120+
(merge 36fc7d8 sg/t6050-failing-editor-test-fix later to maint).
121+
(merge 60253a6 ss/clone-depth-single-doc later to maint).

0 commit comments

Comments
 (0)