Skip to content

Commit 49981d8

Browse files
committed
Start maintenance track for 2.10.x series
2 parents 0202c41 + 6ebdac1 commit 49981d8

File tree

303 files changed

+35823
-18898
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

303 files changed

+35823
-18898
lines changed

.mailmap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Cheng Renquan <[email protected]>
3333
Chris Shoemaker <[email protected]>
3434
3535
36+
3637
Christian Stimming <[email protected]> <[email protected]>
3738
3839
Dan Johnson <[email protected]>

Documentation/RelNotes/2.10.0.txt

Lines changed: 675 additions & 0 deletions
Large diffs are not rendered by default.

Documentation/RelNotes/2.3.10.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Fixes since v2.3.9
77
* xdiff code we use to generate diffs is not prepared to handle
88
extremely large files. It uses "int" in many places, which can
99
overflow if we have a very large number of lines or even bytes in
10-
our input files, for example. Cap the input size to soemwhere
10+
our input files, for example. Cap the input size to somewhere
1111
around 1GB for now.
1212

1313
* Some protocols (like git-remote-ext) can execute arbitrary code

Documentation/RelNotes/2.4.10.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Fixes since v2.4.9
77
* xdiff code we use to generate diffs is not prepared to handle
88
extremely large files. It uses "int" in many places, which can
99
overflow if we have a very large number of lines or even bytes in
10-
our input files, for example. Cap the input size to soemwhere
10+
our input files, for example. Cap the input size to somewhere
1111
around 1GB for now.
1212

1313
* Some protocols (like git-remote-ext) can execute arbitrary code

Documentation/RelNotes/2.5.4.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Fixes since v2.5.4
77
* xdiff code we use to generate diffs is not prepared to handle
88
extremely large files. It uses "int" in many places, which can
99
overflow if we have a very large number of lines or even bytes in
10-
our input files, for example. Cap the input size to soemwhere
10+
our input files, for example. Cap the input size to somewhere
1111
around 1GB for now.
1212

1313
* Some protocols (like git-remote-ext) can execute arbitrary code

Documentation/RelNotes/2.6.1.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Fixes since v2.6
77
* xdiff code we use to generate diffs is not prepared to handle
88
extremely large files. It uses "int" in many places, which can
99
overflow if we have a very large number of lines or even bytes in
10-
our input files, for example. Cap the input size to soemwhere
10+
our input files, for example. Cap the input size to somewhere
1111
around 1GB for now.
1212

1313
* Some protocols (like git-remote-ext) can execute arbitrary code

Documentation/config.txt

Lines changed: 90 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -150,27 +150,34 @@ integer::
150150
1024", "by 1024x1024", etc.
151151

152152
color::
153-
The value for a variables that takes a color is a list of
154-
colors (at most two) and attributes (at most one), separated
155-
by spaces. The colors accepted are `normal`, `black`,
156-
`red`, `green`, `yellow`, `blue`, `magenta`, `cyan` and
157-
`white`; the attributes are `bold`, `dim`, `ul`, `blink` and
158-
`reverse`. The first color given is the foreground; the
159-
second is the background. The position of the attribute, if
160-
any, doesn't matter. Attributes may be turned off specifically
161-
by prefixing them with `no` (e.g., `noreverse`, `noul`, etc).
162-
+
163-
Colors (foreground and background) may also be given as numbers between
164-
0 and 255; these use ANSI 256-color mode (but note that not all
165-
terminals may support this). If your terminal supports it, you may also
166-
specify 24-bit RGB values as hex, like `#ff0ab3`.
167-
+
168-
The attributes are meant to be reset at the beginning of each item
169-
in the colored output, so setting color.decorate.branch to `black`
170-
will paint that branch name in a plain `black`, even if the previous
171-
thing on the same output line (e.g. opening parenthesis before the
172-
list of branch names in `log --decorate` output) is set to be
173-
painted with `bold` or some other attribute.
153+
The value for a variable that takes a color is a list of
154+
colors (at most two, one for foreground and one for background)
155+
and attributes (as many as you want), separated by spaces.
156+
+
157+
The basic colors accepted are `normal`, `black`, `red`, `green`, `yellow`,
158+
`blue`, `magenta`, `cyan` and `white`. The first color given is the
159+
foreground; the second is the background.
160+
+
161+
Colors may also be given as numbers between 0 and 255; these use ANSI
162+
256-color mode (but note that not all terminals may support this). If
163+
your terminal supports it, you may also specify 24-bit RGB values as
164+
hex, like `#ff0ab3`.
165+
+
166+
The accepted attributes are `bold`, `dim`, `ul`, `blink`, `reverse`,
167+
`italic`, and `strike` (for crossed-out or "strikethrough" letters).
168+
The position of any attributes with respect to the colors
169+
(before, after, or in between), doesn't matter. Specific attributes may
170+
be turned off by prefixing them with `no` or `no-` (e.g., `noreverse`,
171+
`no-ul`, etc).
172+
+
173+
For git's pre-defined color slots, the attributes are meant to be reset
174+
at the beginning of each item in the colored output. So setting
175+
`color.decorate.branch` to `black` will paint that branch name in a
176+
plain `black`, even if the previous thing on the same output line (e.g.
177+
opening parenthesis before the list of branch names in `log --decorate`
178+
output) is set to be painted with `bold` or some other attribute.
179+
However, custom log formats may do more complicated and layered
180+
coloring, and the negated forms may be useful there.
174181

175182
pathname::
176183
A variable that takes a pathname value can be given a
@@ -441,6 +448,13 @@ specify that no proxy be used for a given domain pattern.
441448
This is useful for excluding servers inside a firewall from
442449
proxy use, while defaulting to a common proxy for external domains.
443450

451+
core.sshCommand::
452+
If this variable is set, `git fetch` and `git push` will
453+
use the specified command instead of `ssh` when they need to
454+
connect to a remote system. The command is in the same form as
455+
the `GIT_SSH_COMMAND` environment variable and is overridden
456+
when the environment variable is set.
457+
444458
core.ignoreStat::
445459
If true, Git will avoid using lstat() calls to detect if files have
446460
changed by setting the "assume-unchanged" bit for those tracked files
@@ -1187,6 +1201,15 @@ difftool.<tool>.cmd::
11871201
difftool.prompt::
11881202
Prompt before each invocation of the diff tool.
11891203

1204+
fastimport.unpackLimit::
1205+
If the number of objects imported by linkgit:git-fast-import[1]
1206+
is below this limit, then the objects will be unpacked into
1207+
loose object files. However if the number of imported objects
1208+
equals or exceeds this limit then the pack will be stored as a
1209+
pack. Storing the pack from a fast-import can make the import
1210+
operation complete faster, especially on slow filesystems. If
1211+
not set, the value of `transfer.unpackLimit` is used instead.
1212+
11901213
fetch.recurseSubmodules::
11911214
This option can be either set to a boolean value or to 'on-demand'.
11921215
Setting it to a boolean changes the behavior of fetch and pull to
@@ -1218,13 +1241,28 @@ fetch.prune::
12181241
If true, fetch will automatically behave as if the `--prune`
12191242
option was given on the command line. See also `remote.<name>.prune`.
12201243

1244+
fetch.output::
1245+
Control how ref update status is printed. Valid values are
1246+
`full` and `compact`. Default value is `full`. See section
1247+
OUTPUT in linkgit:git-fetch[1] for detail.
1248+
12211249
format.attach::
12221250
Enable multipart/mixed attachments as the default for
12231251
'format-patch'. The value can also be a double quoted string
12241252
which will enable attachments as the default and set the
12251253
value as the boundary. See the --attach option in
12261254
linkgit:git-format-patch[1].
12271255

1256+
format.from::
1257+
Provides the default value for the `--from` option to format-patch.
1258+
Accepts a boolean value, or a name and email address. If false,
1259+
format-patch defaults to `--no-from`, using commit authors directly in
1260+
the "From:" field of patch mails. If true, format-patch defaults to
1261+
`--from`, using your committer identity in the "From:" field of patch
1262+
mails and including a "From:" field in the body of the patch mail if
1263+
different. If set to a non-boolean value, format-patch uses that
1264+
value instead of your committer identity. Defaults to false.
1265+
12281266
format.numbered::
12291267
A boolean which can enable or disable sequence numbers in patch
12301268
subjects. It defaults to "auto" which enables it only if there
@@ -2399,8 +2437,13 @@ rebase.instructionFormat
23992437

24002438
receive.advertiseAtomic::
24012439
By default, git-receive-pack will advertise the atomic push
2402-
capability to its clients. If you don't want to this capability
2403-
to be advertised, set this variable to false.
2440+
capability to its clients. If you don't want to advertise this
2441+
capability, set this variable to false.
2442+
2443+
receive.advertisePushOptions::
2444+
By default, git-receive-pack will advertise the push options
2445+
capability to its clients. If you don't want to advertise this
2446+
capability, set this variable to false.
24042447

24052448
receive.autogc::
24062449
By default, git-receive-pack will run "git-gc --auto" after
@@ -2455,6 +2498,15 @@ receive.fsck.skipList::
24552498
can be safely ignored such as invalid committer email addresses.
24562499
Note: corrupt objects cannot be skipped with this setting.
24572500

2501+
receive.keepAlive::
2502+
After receiving the pack from the client, `receive-pack` may
2503+
produce no output (if `--quiet` was specified) while processing
2504+
the pack, causing some networks to drop the TCP connection.
2505+
With this option set, if `receive-pack` does not transmit
2506+
any data in this phase for `receive.keepAlive` seconds, it will
2507+
send a short keepalive packet. The default is 5 seconds; set
2508+
to 0 to disable keepalives entirely.
2509+
24582510
receive.unpackLimit::
24592511
If the number of objects received in a push is below this
24602512
limit then the objects will be unpacked into loose object
@@ -2881,6 +2933,21 @@ uploadpack.keepAlive::
28812933
`uploadpack.keepAlive` seconds. Setting this option to 0
28822934
disables keepalive packets entirely. The default is 5 seconds.
28832935

2936+
uploadpack.packObjectsHook::
2937+
If this option is set, when `upload-pack` would run
2938+
`git pack-objects` to create a packfile for a client, it will
2939+
run this shell command instead. The `pack-objects` command and
2940+
arguments it _would_ have run (including the `git pack-objects`
2941+
at the beginning) are appended to the shell command. The stdin
2942+
and stdout of the hook are treated as if `pack-objects` itself
2943+
was run. I.e., `upload-pack` will feed input intended for
2944+
`pack-objects` to the hook, and expects a completed packfile on
2945+
stdout.
2946+
+
2947+
Note that this configuration variable is ignored if it is seen in the
2948+
repository-level config (this is a safety measure against fetching from
2949+
untrusted repositories).
2950+
28842951
url.<base>.insteadOf::
28852952
Any URL that starts with this value will be rewritten to
28862953
start, instead, with <base>. In cases where some site serves a

Documentation/git-am.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ default. You can use `--no-utf8` to override this.
116116
By default the command will try to detect the patch format
117117
automatically. This option allows the user to bypass the automatic
118118
detection and specify the patch format that the patch(es) should be
119-
interpreted as. Valid formats are mbox, stgit, stgit-series and hg.
119+
interpreted as. Valid formats are mbox, mboxrd,
120+
stgit, stgit-series and hg.
120121

121122
-i::
122123
--interactive::

Documentation/git-fast-import.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ Performance and Compression Tuning
136136
Maximum size of each output packfile.
137137
The default is unlimited.
138138

139+
fastimport.unpackLimit::
140+
See linkgit:git-config[1]
139141

140142
Performance
141143
-----------

Documentation/git-fetch.txt

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,57 @@ The latter use of the `remote.<repository>.fetch` values can be
9999
overridden by giving the `--refmap=<refspec>` parameter(s) on the
100100
command line.
101101

102+
OUTPUT
103+
------
104+
105+
The output of "git fetch" depends on the transport method used; this
106+
section describes the output when fetching over the Git protocol
107+
(either locally or via ssh) and Smart HTTP protocol.
108+
109+
The status of the fetch is output in tabular form, with each line
110+
representing the status of a single ref. Each line is of the form:
111+
112+
-------------------------------
113+
<flag> <summary> <from> -> <to> [<reason>]
114+
-------------------------------
115+
116+
The status of up-to-date refs is shown only if the --verbose option is
117+
used.
118+
119+
In compact output mode, specified with configuration variable
120+
fetch.output, if either entire `<from>` or `<to>` is found in the
121+
other string, it will be substituted with `*` in the other string. For
122+
example, `master -> origin/master` becomes `master -> origin/*`.
123+
124+
flag::
125+
A single character indicating the status of the ref:
126+
(space);; for a successfully fetched fast-forward;
127+
`+`;; for a successful forced update;
128+
`-`;; for a successfully pruned ref;
129+
`t`;; for a successful tag update;
130+
`*`;; for a successfully fetched new ref;
131+
`!`;; for a ref that was rejected or failed to update; and
132+
`=`;; for a ref that was up to date and did not need fetching.
133+
134+
summary::
135+
For a successfully fetched ref, the summary shows the old and new
136+
values of the ref in a form suitable for using as an argument to
137+
`git log` (this is `<old>..<new>` in most cases, and
138+
`<old>...<new>` for forced non-fast-forward updates).
139+
140+
from::
141+
The name of the remote ref being fetched from, minus its
142+
`refs/<type>/` prefix. In the case of deletion, the name of
143+
the remote ref is "(none)".
144+
145+
to::
146+
The name of the local ref being updated, minus its
147+
`refs/<type>/` prefix.
148+
149+
reason::
150+
A human-readable explanation. In the case of successfully fetched
151+
refs, no explanation is needed. For a failed ref, the reason for
152+
failure is described.
102153

103154
EXAMPLES
104155
--------

Documentation/git-fsck.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ SYNOPSIS
1111
[verse]
1212
'git fsck' [--tags] [--root] [--unreachable] [--cache] [--no-reflogs]
1313
[--[no-]full] [--strict] [--verbose] [--lost-found]
14-
[--[no-]dangling] [--[no-]progress] [--connectivity-only] [<object>*]
14+
[--[no-]dangling] [--[no-]progress] [--connectivity-only]
15+
[--[no-]name-objects] [<object>*]
1516

1617
DESCRIPTION
1718
-----------
@@ -82,6 +83,12 @@ index file, all SHA-1 references in `refs` namespace, and all reflogs
8283
a blob, the contents are written into the file, rather than
8384
its object name.
8485

86+
--name-objects::
87+
When displaying names of reachable objects, in addition to the
88+
SHA-1 also display a name that describes *how* they are reachable,
89+
compatible with linkgit:git-rev-parse[1], e.g.
90+
`HEAD@{1234567890}~25^2:src/`.
91+
8592
--[no-]progress::
8693
Progress status is reported on the standard error stream by
8794
default when it is attached to a terminal, unless

Documentation/git-log.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,10 @@ log.showRoot::
198198
`git log -p` output would be shown without a diff attached.
199199
The default is `true`.
200200

201+
log.showSignature::
202+
If `true`, `git log` and related commands will act as if the
203+
`--show-signature` option was passed to them.
204+
201205
mailmap.*::
202206
See linkgit:git-shortlog[1].
203207

Documentation/git-ls-files.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,7 @@ not accessible in the working tree.
159159
+
160160
<eolattr> is the attribute that is used when checking out or committing,
161161
it is either "", "-text", "text", "text=auto", "text eol=lf", "text eol=crlf".
162-
Note: Currently Git does not support "text=auto eol=lf" or "text=auto eol=crlf",
163-
that may change in the future.
162+
Since Git 2.10 "text=auto eol=lf" and "text=auto eol=crlf" are supported.
164163
+
165164
Both the <eolinfo> in the index ("i/<eolinfo>")
166165
and in the working tree ("w/<eolinfo>") are shown for regular files,

Documentation/git-mailsplit.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ git-mailsplit - Simple UNIX mbox splitter program
88
SYNOPSIS
99
--------
1010
[verse]
11-
'git mailsplit' [-b] [-f<nn>] [-d<prec>] [--keep-cr] -o<directory> [--] [(<mbox>|<Maildir>)...]
11+
'git mailsplit' [-b] [-f<nn>] [-d<prec>] [--keep-cr] [--mboxrd]
12+
-o<directory> [--] [(<mbox>|<Maildir>)...]
1213

1314
DESCRIPTION
1415
-----------
@@ -47,6 +48,10 @@ OPTIONS
4748
--keep-cr::
4849
Do not remove `\r` from lines ending with `\r\n`.
4950

51+
--mboxrd::
52+
Input is of the "mboxrd" format and "^>+From " line escaping is
53+
reversed.
54+
5055
GIT
5156
---
5257
Part of the linkgit:git[1] suite

Documentation/git-push.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ SYNOPSIS
1111
[verse]
1212
'git push' [--all | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]
1313
[--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-v | --verbose]
14-
[-u | --set-upstream]
14+
[-u | --set-upstream] [--push-option=<string>]
1515
[--[no-]signed|--sign=(true|false|if-asked)]
1616
[--force-with-lease[=<refname>[:<expect>]]]
1717
[--no-verify] [<repository> [<refspec>...]]
@@ -156,6 +156,12 @@ already exists on the remote side.
156156
Either all refs are updated, or on error, no refs are updated.
157157
If the server does not support atomic pushes the push will fail.
158158

159+
-o::
160+
--push-option::
161+
Transmit the given string to the server, which passes them to
162+
the pre-receive as well as the post-receive hook. The given string
163+
must not contain a NUL or LF character.
164+
159165
--receive-pack=<git-receive-pack>::
160166
--exec=<git-receive-pack>::
161167
Path to the 'git-receive-pack' program on the remote

Documentation/git-remote-fd.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ fetch, push or archive.
1717

1818
If only <infd> is given, it is assumed to be a bidirectional socket connected
1919
to remote Git server (git-upload-pack, git-receive-pack or
20-
git-upload-achive). If both <infd> and <outfd> are given, they are assumed
20+
git-upload-archive). If both <infd> and <outfd> are given, they are assumed
2121
to be pipes connected to a remote Git server (<infd> being the inbound pipe
2222
and <outfd> being the outbound pipe.
2323

0 commit comments

Comments
 (0)