Skip to content

Commit ed44fd0

Browse files
committed
Merge v1.7.5-rc2 into jn/format-patch-doc
This is to sync with the recent updates in Documentation/SubmittingPatches and Documentation/format-patch.txt
2 parents e0d4827 + 4d8b32a commit ed44fd0

File tree

431 files changed

+12524
-4909
lines changed

Some content is hidden

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

431 files changed

+12524
-4909
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
/git-fast-export
4444
/git-fast-import
4545
/git-fetch
46-
/git-fetch--tool
4746
/git-fetch-pack
4847
/git-filter-branch
4948
/git-fmt-merge-msg
@@ -107,7 +106,6 @@
107106
/git-reflog
108107
/git-relink
109108
/git-remote
110-
/git-remote-curl
111109
/git-remote-http
112110
/git-remote-https
113111
/git-remote-ftp
@@ -170,6 +168,7 @@
170168
/test-index-version
171169
/test-line-buffer
172170
/test-match-trees
171+
/test-mktemp
173172
/test-obj-pool
174173
/test-parse-options
175174
/test-path-utils

Documentation/RelNotes/1.7.5.txt

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
Git v1.7.5 Release Notes (draft)
2+
========================
3+
4+
Updates since v1.7.4
5+
--------------------
6+
7+
* Various MinGW portability fixes.
8+
9+
* Various git-p4 enhancements (in contrib).
10+
11+
* Various vcs-svn, git-svn and gitk enhancements and fixes.
12+
13+
* Various git-gui updates (0.14.0).
14+
15+
* Update to more modern HP-UX port.
16+
17+
* The codebase is getting prepared for i18n/l10n; no translated
18+
strings nor translation mechanism in the code yet, but the strings
19+
are being marked for l10n.
20+
21+
* The bash completion script can now complete symmetric difference
22+
for "git diff" command, e.g. "git diff ...bra<TAB>".
23+
24+
* The default minimum length of abbreviated and unique object names
25+
can now be configured by setting the core.abbrev configuration
26+
variable.
27+
28+
* "git apply -v" reports offset lines when the patch does not apply at
29+
the exact location recorded in the diff output.
30+
31+
* "git config" used to be also known as "git repo-config", but the old
32+
name is now officially deprecated.
33+
34+
* "git checkout --detach <commit>" is a more user friendly synonym for
35+
"git checkout <commit>^0".
36+
37+
* "git checkout" performed on detached HEAD gives a warning and
38+
advice when the commit being left behind will become unreachable from
39+
any branch or tag.
40+
41+
* "git cherry-pick" and "git revert" can be told to use a custom merge
42+
strategy, similar to "git rebase".
43+
44+
* "git cherry-pick" remembers which commit failed to apply when it is
45+
stopped by conflicts, making it unnecessary to use "commit -c $commit"
46+
to conclude it.
47+
48+
* "git cvsimport" bails out immediately when the cvs server cannot be
49+
reached, without spewing unnecessary error messages that complain about
50+
the server response it never got.
51+
52+
* "git fetch" vs "git upload-pack" transfer learned 'no-done'
53+
protocol extension to save one round-trip after the content
54+
negotiation is done. This saves one HTTP RPC, reducing the overall
55+
latency for a trivial fetch.
56+
57+
* "git fetch" can be told to recursively fetch submodules on-demand.
58+
59+
* "git grep -f <filename>" learned to treat "-" as "read from the
60+
standard input stream".
61+
62+
* "git grep --no-index" did not honor pathspecs correctly, returning
63+
paths outside the specified area.
64+
65+
* "git init" learned the --separate-git-dir option to allow the git
66+
directory for a new repository created elsewhere and linked via the
67+
gitdir mechanism. This is primarily to help submodule support later
68+
to switch between a branch of superproject that has the submodule
69+
and another that does not.
70+
71+
* "git log" type commands now understand globbing pathspecs. You
72+
can say "git log -- '*.txt'" for example.
73+
74+
* "git log" family of commands learned --cherry and --cherry-mark
75+
options that can be used to view two diverged branches while omitting
76+
or highlighting equivalent changes that appear on both sides of a
77+
symmetric difference (e.g. "log --cherry A...B").
78+
79+
* A lazy "git merge" that didn't say what to merge used to be an error.
80+
When run on a branch that has an upstream defined, however, the command
81+
now merges from the configured upstream.
82+
83+
* "git mergetool" learned how to drive "beyond compare 3" as well.
84+
85+
* "git rerere forget" without pathspec used to forget all the saved
86+
conflicts that relate to the current merge; it now requires you to
87+
give it pathspecs.
88+
89+
* "git rev-list --objects $revs -- $pathspec" now limits the objects listed
90+
in its output properly with the pathspec, in preparation for narrow
91+
clones.
92+
93+
* "git push" with no parameters gives better advice messages when
94+
"tracking" is used as the push.default semantics or there is no remote
95+
configured yet.
96+
97+
* A possible value to the "push.default" configuration variable,
98+
'tracking', gained a synonym that more naturally describes what it
99+
does, 'upstream'.
100+
101+
* "git rerere" learned a new subcommand "remaining" that is similar to
102+
"status" and lists the paths that had conflicts which are known to
103+
rerere, but excludes the paths that have already been marked as
104+
resolved in the index from its output. "git mergetool" has been
105+
updated to use this facility.
106+
107+
Also contains various documentation updates.
108+
109+
110+
Fixes since v1.7.4
111+
------------------
112+
113+
All of the fixes in the v1.7.4.X maintenance series are included in this
114+
release, unless otherwise noted.
115+
116+
* "git fetch" from a client that is mostly following the remote
117+
needlessly told all of its refs to the server for both sides to
118+
compute the set of objects that need to be transferred efficiently,
119+
instead of stopping when the server heard enough. In a project with
120+
many tags, this turns out to be extremely wasteful, especially over
121+
the smart HTTP transport (sp/maint-{upload,fetch}-pack-stop-early~1).
122+
123+
* "git fetch" run from a repository that uses the same repository as
124+
its alternate object store as the repository it is fetching from
125+
did not tell the server that it already has access to objects
126+
reachable from the refs in their common alternate object store,
127+
causing it to fetch unnecessary objects (jc/maint-fetch-alt).
128+
129+
* "git remote add --mirror" created a configuration that is suitable for
130+
doing both a mirror fetch and a mirror push at the same time, which
131+
made little sense. We now warn and require the command line to specify
132+
either --mirror=fetch or --mirror=push.
133+
134+
---
135+
exec >/var/tmp/1
136+
O=v1.7.5-rc2
137+
echo O=$(git describe 'master')
138+
git shortlog --no-merges ^maint ^$O master

Documentation/SubmittingPatches

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ don't hide your real name.
276276

277277
If you like, you can put extra tags at the end:
278278

279-
1. "Reported-by:" is used to to credit someone who found the bug that
279+
1. "Reported-by:" is used to credit someone who found the bug that
280280
the patch attempts to fix.
281281
2. "Acked-by:" says that the person who is more familiar with the area
282282
the patch attempts to modify liked the patch.
@@ -608,4 +608,3 @@ following commands:
608608
Just make sure to disable line wrapping in the email client (GMail web
609609
interface will line wrap no matter what, so you need to use a real
610610
IMAP client).
611-

Documentation/config.txt

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -897,9 +897,13 @@ diff.wordRegex::
897897
characters are *ignorable* whitespace.
898898

899899
fetch.recurseSubmodules::
900-
A boolean value which changes the behavior for fetch and pull, the
901-
default is to not recursively fetch populated submodules unless
902-
configured otherwise.
900+
This option can be either set to a boolean value or to 'on-demand'.
901+
Setting it to a boolean changes the behavior of fetch and pull to
902+
unconditionally recurse into submodules when set to true or to not
903+
recurse at all when set to false. When set to 'on-demand' (the default
904+
value), fetch and pull will only recurse into a populated submodule
905+
when its superproject retrieves a commit that updates the submodule's
906+
reference.
903907

904908
fetch.unpackLimit::
905909
If the number of objects fetched over the git native
@@ -1098,6 +1102,12 @@ All gitcvs variables except for 'gitcvs.usecrlfattr' and
10981102
is one of "ext" and "pserver") to make them apply only for the given
10991103
access method.
11001104

1105+
grep.lineNumber::
1106+
If set to true, enable '-n' option by default.
1107+
1108+
grep.extendedRegexp::
1109+
If set to true, enable '--extended-regexp' option by default.
1110+
11011111
gui.commitmsgwidth::
11021112
Defines how wide the commit message window is in the
11031113
linkgit:git-gui[1]. "75" is the default.
@@ -1817,7 +1827,7 @@ submodule.<name>.update::
18171827
linkgit:git-submodule[1] and linkgit:gitmodules[5] for details.
18181828

18191829
submodule.<name>.fetchRecurseSubmodules::
1820-
This option can be used to enable/disable recursive fetching of this
1830+
This option can be used to control recursive fetching of this
18211831
submodule. It can be overridden by using the --[no-]recurse-submodules
18221832
command line option to "git fetch" and "git pull".
18231833
This setting will override that from in the linkgit:gitmodules[5]

Documentation/fetch-options.txt

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,33 @@ ifndef::git-pull[]
6565
specified with the remote.<name>.tagopt setting. See
6666
linkgit:git-config[1].
6767

68-
--[no-]recurse-submodules::
69-
This option controls if new commits of all populated submodules should
70-
be fetched too (see linkgit:git-config[1] and linkgit:gitmodules[5]).
68+
--recurse-submodules[=yes|on-demand|no]::
69+
This option controls if and under what conditions new commits of
70+
populated submodules should be fetched too. It can be used as a
71+
boolean option to completely disable recursion when set to 'no' or to
72+
unconditionally recurse into all populated submodules when set to
73+
'yes', which is the default when this option is used without any
74+
value. Use 'on-demand' to only recurse into a populated submodule
75+
when the superproject retrieves a commit that updates the submodule's
76+
reference to a commit that isn't already in the local submodule
77+
clone.
78+
79+
--no-recurse-submodules::
80+
Disable recursive fetching of submodules (this has the same effect as
81+
using the '--recurse-submodules=no' option).
7182

7283
--submodule-prefix=<path>::
7384
Prepend <path> to paths printed in informative messages
7485
such as "Fetching submodule foo". This option is used
7586
internally when recursing over submodules.
87+
88+
--recurse-submodules-default=[yes|on-demand]::
89+
This option is used internally to temporarily provide a
90+
non-negative default value for the --recurse-submodules
91+
option. All other methods of configuring fetch's submodule
92+
recursion (such as settings in linkgit:gitmodules[5] and
93+
linkgit:git-config[1]) override this option, as does
94+
specifying --[no-]recurse-submodules directly.
7695
endif::git-pull[]
7796

7897
-u::

Documentation/git-add.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -378,14 +378,6 @@ linkgit:git-mv[1]
378378
linkgit:git-commit[1]
379379
linkgit:git-update-index[1]
380380

381-
Author
382-
------
383-
Written by Linus Torvalds <[email protected]>
384-
385-
Documentation
386-
--------------
387-
Documentation by Junio C Hamano and the git-list <[email protected]>.
388-
389381
GIT
390382
---
391383
Part of the linkgit:git[1] suite

Documentation/git-am.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -189,15 +189,6 @@ SEE ALSO
189189
--------
190190
linkgit:git-apply[1].
191191

192-
193-
Author
194-
------
195-
Written by Junio C Hamano <[email protected]>
196-
197-
Documentation
198-
--------------
199-
Documentation by Petr Baudis, Junio C Hamano and the git-list <[email protected]>.
200-
201192
GIT
202193
---
203194
Part of the linkgit:git[1] suite

Documentation/git-annotate.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ SEE ALSO
2727
--------
2828
linkgit:git-blame[1]
2929

30-
AUTHOR
31-
------
32-
Written by Ryan Anderson <[email protected]>.
33-
3430
GIT
3531
---
3632
Part of the linkgit:git[1] suite

Documentation/git-apply.txt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -246,20 +246,10 @@ If `--index` is not specified, then the submodule commits in the patch
246246
are ignored and only the absence or presence of the corresponding
247247
subdirectory is checked and (if possible) updated.
248248

249-
250249
SEE ALSO
251250
--------
252251
linkgit:git-am[1].
253252

254-
255-
Author
256-
------
257-
Written by Linus Torvalds <[email protected]>
258-
259-
Documentation
260-
--------------
261-
Documentation by Junio C Hamano
262-
263253
GIT
264254
---
265255
Part of the linkgit:git[1] suite

Documentation/git-archimport.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -107,14 +107,6 @@ OPTIONS
107107
Archive/branch identifier in a format that `tla log` understands.
108108

109109

110-
Author
111-
------
112-
Written by Martin Langhoff <[email protected]>.
113-
114-
Documentation
115-
--------------
116-
Documentation by Junio C Hamano, Martin Langhoff and the git-list <[email protected]>.
117-
118110
GIT
119111
---
120112
Part of the linkgit:git[1] suite

0 commit comments

Comments
 (0)