summaryrefslogtreecommitdiff
path: root/Documentation/RelNotes/1.8.2.txt
blob: 78820ac4479b84e0b4aaadcd02f99e682be03c44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
Git v1.8.2 Release Notes
========================
 
Backward compatibility notes
----------------------------
 
In the upcoming major release (tentatively called 1.8.2), we will
change the behavior of the "git push" command.
 
When "git push [$there]" does not say what to push, we have used the
traditional "matching" semantics so far (all your branches were sent
to the remote as long as there already are branches of the same name
over there).  We will use the "simple" semantics that pushes the
current branch to the branch with the same name, only when the current
branch is set to integrate with that remote branch.  There is a user
preference configuration variable "push.default" to change this.
 
 
Updates since v1.8.1
--------------------
 
UI, Workflows & Features
 
 * Initial ports to QNX and z/OS UNIX System Services have started.
 
 * Output from the tests is coloured using "green is okay, yellow is
   questionable, red is bad and blue is informative" scheme.
 
 * In bare repositories, "git shortlog" and other commands now read
   mailmap files from the tip of the history, to help running these
   tools in server settings.
 
 * Color specifiers, e.g. "%C(blue)Hello%C(reset)", used in the
   "--format=" option of "git log" and friends can be disabled when
   the output is not sent to a terminal by prefixing them with
   "auto,", e.g. "%C(auto,blue)Hello%C(auto,reset)".
 
 * Scripts can ask Git that wildcard patterns in pathspecs they give do
   not have any significance, i.e. take them as literal strings.
 
 * The pathspec code learned to grok "foo/**/bar" as a pattern that
   matches "bar" in 0-or-more levels of subdirectory in "foo".
 
 * "git blame" (and "git diff") learned the "--no-follow" option.
 
 * "git cherry-pick" can be used to replay a root commit to an unborn
   branch.
 
 * "git fetch --mirror" and fetch that uses other forms of refspec
   with wildcard used to attempt to update a symbolic ref that match
   the wildcard on the receiving end, which made little sense (the
   real ref that is pointed at by the symbolic ref would be updated
   anyway).  Symbolic refs no longer are affected by such a fetch.
 
 * "git format-patch" now detects more cases in which a whole branch
   is being exported, and uses the description for the branch, when
   asked to write a cover letter for the series.
 
 * "git format-patch" learned "-v $count" option, and prepends a
   string "v$count-" to the names of its output files, and also
   automatically sets the subject prefix to "PATCH v$count". This
   allows patches from rerolled series to be stored under different
   names and makes it easier to reuse cover letter messsages.
 
 * "git push" now requires "-f" to update a tag, even if it is a
   fast-forward, as tags are meant to be fixed points.
 
 * When "git rebase" fails to generate patches to be applied (e.g. due
   to oom), it failed to detect the failure and instead behaved as if
   there were nothing to do.  A workaround to use a temporary file has
   been applied, but we probably would want to revisit this later, as
   it hurts the common case of not failing at all.
 
 * "git submodule" started learning a new mode to integrate with the
   tip of the remote branch (as opposed to integrating with the commit
   recorded in the superproject's gitlink).
 
 
Foreign Interface
 
 * "git fast-export" has been updated for its use in the context of
   the remote helper interface.
 
 * A new remote helper to interact with bzr has been added to contrib/.
 
 
Performance, Internal Implementation, etc.
 
 * "git fsck" has been taught to be pickier about entries in tree
   objects that should not be there, e.g. ".", ".git", and "..".
 
 * Matching paths with common forms of pathspecs that contain wildcard
   characters has been optimized further.
 
 * The implementation of "imap-send" has been updated to reuse xml
   quoting code from http-push codepath.
 
 * There is a simple-minded checker for the test scripts in t/
   directory to catch most common mistakes (it is not enabled by
   default).
 
 
Also contains minor documentation updates and code clean-ups.
 
 
Fixes since v1.8.1
------------------
 
Unless otherwise noted, all the fixes since v1.8.1 in the maintenance
track are contained in this release (see release notes to them for
details).
 
 * An element on GIT_CEILING_DIRECTORIES list that does not name the
   real path to a directory (i.e. a symbolic link) could have caused
   the GIT_DIR discovery logic to escape the ceiling.
   (merge 059b379 mh/ceiling later to maint).
 
 * When attempting to read the XDG-style $HOME/.config/git/config and
   finding that $HOME/.config/git is a file, we gave a wrong error
   message, instead of treating the case as "a custom config file does
   not exist there" and moving on.
   (merge 8f2bbe4 jn/warn-on-inaccessible-loosen later to maint).
 
 * The behaviour visible to the end users was confusing, when they
   attempt to kill a process spawned in the editor that was in turn
   launched by Git with SIGINT (or SIGQUIT), as Git would catch that
   signal and die.  We ignore these signals now.
   (merge 1250857 pf/editor-ignore-sigint later to maint).
 
 * A child process that was killed by a signal (e.g. SIGINT) was
   reported in an inconsistent way depending on how the process was
   spawned by us, with or without a shell in between.
   (merge 709ca73 jk/unify-exit-code-by-receiving-signal later to maint).
 
 * After failing to create a temporary file using mkstemp(), failing
   pathname was not reported correctly on some platforms.
   (merge f7be59b jc/mkstemp-more-careful-error-reporting later to maint).
 
 * The attribute mechanism didn't allow limiting attributes to be
   applied to only a single directory itself with "path/" like the
   exclude mechanism does.
   (merge 94bc671 ja/directory-attrs later to maint).
 
 * "git apply" misbehaved when fixing whitespace breakages by removing
   excess trailing blank lines.
   (merge 5de7166 jc/apply-trailing-blank-removal later to maint).
 
 * A tar archive created by "git archive" recorded a directory in a
   way that made NetBSD's implementation of "tar" sometimes unhappy.
   (merge 22f0dcd rs/leave-base-name-in-name-field-of-tar later to maint).
 
 * "git archive" did not record uncompressed size in the header when
   streaming a zip archive, which confused some implementations of unzip.
   (merge 5ea2c84 rs/zip-with-uncompressed-size-in-the-header later to maint).
 
 * When "git clone --separate-git-dir=$over_there" is interrupted, it
   failed to remove the real location of the $GIT_DIR it created.
   This was most visible when interrupting a submodule update.
   (merge 9be1980 jl/interrupt-clone-remove-separate-git-dir later to maint).
 
 * The way "git svn" asked for password using SSH_ASKPASS and
   GIT_ASKPASS was not in line with the rest of the system.
   (merge e9263e4 ss/svn-prompt later to maint).
 
 * The --graph code fell into infinite loop when asked to do what the
   code did not expect.
   (merge 656197a mk/maint-graph-infinity-loop later to maint).
 
 * http transport was wrong to ask for the username when the
   authentication is done by certificate identity.
   (merge 75e9a40 rb/http-cert-cred-no-username-prompt later to maint).
 
 * "git pack-refs" that ran in parallel to another process that
   created new refs had a nasty race.
   (merge b3f1280 jk/repack-ref-racefix later to maint).
 
 * After "git add -N" and then writing a tree object out of the
   index, the cache-tree data structure got corrupted.
   (merge eec3e7e nd/invalidate-i-t-a-cache-tree later to maint).
 
 * "git merge --no-edit" computed who were involved in the work done
   on the side branch, even though that information is to be discarded
   without getting seen in the editor.
   (merge 9bcbb1c jc/maint-fmt-merge-msg-no-edit-lose-credit later to maint).
 
 * "git merge" started calling prepare-commit-msg hook like "git
   commit" does some time ago, but forgot to pay attention to the exit
   status of the hook.
   (merge 3e4141d ap/merge-stop-at-prepare-commit-msg-failure later to maint).
 
 * When users spell "cc:" in lowercase in the fake "header" in the
   trailer part, "git send-email" failed to pick up the addresses from
   there. As e-mail headers field names are case insensitive, this
   script should follow suit and treat "cc:" and "Cc:" the same way.
   (merge 6310071 nz/send-email-headers-are-case-insensitive later to maint).
 
 * Output from "git status --ignored" showed an unexpected interaction
   with "--untracked".
   (merge a45fb69 ap/status-ignored-in-ignored-directory later to maint).
 
 * "gitweb", when sorting by age to show repositories with new
   activities first, used to sort repositories with absolutely
   nothing in it early, which was not very useful.
   (merge 28dae18 md/gitweb-sort-by-age later to maint).
 
 * "gitweb"'s code to sanitize control characters before passing it to
   "highlight" filter lost known-to-be-safe control characters by
   mistake.
   (merge 0e901d2 os/gitweb-highlight-uncaptured later to maint).
 
 * When a line to be wrapped has a solid run of non space characters
   whose length exactly is the wrap width, "git shortlog -w" failed
   to add a newline after such a line.
   (merge e0db176 sp/shortlog-missing-lf later to maint).
 
 * Command line completion leaked an unnecessary error message while
   looking for possible matches with paths in <tree-ish>.
   (merge ca87dd6 ds/completion-silence-in-tree-path-probe later to maint).
 
 * Command line completion for "tcsh" emitted an unwanted space
   after completing a single directory name.
   (merge 92f1c04 mk/complete-tcsh later to maint).
 
 * Some shells do not behave correctly when IFS is unset; work it
   around by explicitly setting it to the default value.
   (merge 393050c jc/maint-fbsd-sh-ifs-workaround later to maint).
 
 * Some scripted programs written in Python did not get updated when
   PYTHON_PATH changed.
   (cherry-pick 96a4647fca54031974cd6ad1 later to maint).
 
 * When autoconf is used, any build on a different commit always ran
   "config.status --recheck" even when unnecessary.
   (merge 1226504 jn/less-reconfigure later to maint).
 
 * We have been carrying a translated and long-unmaintained copy of an
   old version of the tutorial; removed.
   (merge 0a85441 ta/remove-stale-translated-tut later to maint).
 
 * t4014, t9502 and t0200 tests had various portability issues that
   broke on OpenBSD.
   (merge 27f6342 jc/maint-test-portability later to maint).
 
 * t9020 and t3600 tests had various portability issues.
   (merge 5a02966 jc/test-portability later to maint).
 
 * t9200 runs "cvs init" on a directory that already exists, but a
   platform can configure this fail for the current user (e.g. you
   need to be in the cvsadmin group on NetBSD 6.0).
   (merge 8666df0 jc/test-cvs-no-init-in-existing-dir later to maint).
 
 * t9020 and t9810 had a few non-portable shell script construct.
   (merge 2797914 tb/test-t9020-no-which later to maint).
   (merge 6f4e505 tb/test-t9810-no-sed-i later to maint).