Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 0ef576d

Browse files
committed
Sync with 1.7.10.2
2 parents b7fbce0 + b6555d7 commit 0ef576d

File tree

4 files changed

+22
-7
lines changed

4 files changed

+22
-7
lines changed

Documentation/RelNotes/1.7.10.2.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ Fixes since v1.7.10.1
1414
* HTTP transport that requires authentication did not work correctly when
1515
multiple connections are used simultaneously.
1616

17+
* Minor memory leak during unpack_trees (hence "merge" and "checkout"
18+
to check out another branch) has been plugged.
19+
1720
* In the older days, the header "Conflicts:" in "cherry-pick" and "merge"
1821
was separated by a blank line from the list of paths that follow for
1922
readability, but when "merge" was rewritten in C, we lost it by
@@ -52,13 +55,24 @@ Fixes since v1.7.10.1
5255
* "git push" over smart-http lost progress output a few releases ago;
5356
this release resurrects it.
5457

58+
* The error and advice messages given by "git push" when it fails due
59+
to non-ff were not very helpful to new users; it has been broken
60+
into three cases, and each is given a separate advice message.
61+
5562
* The insn sheet given by "rebase -i" did not make it clear that the
5663
insn lines can be re-ordered to affect the order of the commits in
5764
the resulting history.
5865

66+
* "git repack" used to write out unreachable objects as loose objects
67+
when repacking, even if such loose objects will immediately pruned
68+
due to its age.
69+
5970
* A contrib script "rerere-train" did not work out of the box unless
6071
user futzed with her $PATH.
6172

73+
* "git rev-parse --show-prefix" used to emit nothing when run at the
74+
top-level of the working tree, but now it gives a blank line.
75+
6276
* The i18n of error message "git stash save" was not properly done.
6377

6478
* "git submodule" used a sed script that some platforms mishandled.

Documentation/git-submodule.txt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,18 +140,15 @@ update::
140140
checkout the commit specified in the index of the containing repository.
141141
This will make the submodules HEAD be detached unless `--rebase` or
142142
`--merge` is specified or the key `submodule.$name.update` is set to
143-
`rebase`, `merge` or `none`.
143+
`rebase`, `merge` or `none`. `none` can be overriden by specifying
144+
`--checkout`.
144145
+
145146
If the submodule is not yet initialized, and you just want to use the
146147
setting as stored in .gitmodules, you can automatically initialize the
147148
submodule with the `--init` option.
148149
+
149150
If `--recursive` is specified, this command will recurse into the
150151
registered submodules, and update any nested submodules within.
151-
+
152-
If the configuration key `submodule.$name.update` is set to `none` the
153-
submodule with name `$name` will not be updated by default. This can be
154-
overriden by adding `--checkout` to the command.
155152

156153
summary::
157154
Show commit summary between the given commit (defaults to HEAD) and

Documentation/git.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,10 @@ unreleased) version of git, that is available from 'master'
4444
branch of the `git.git` repository.
4545
Documentation for older releases are available here:
4646

47-
* link:v1.7.10.1/git.html[documentation for release 1.7.10.1]
47+
* link:v1.7.10.2/git.html[documentation for release 1.7.10.2]
4848

4949
* release notes for
50+
link:RelNotes/1.7.10.2.txt[1.7.10.2],
5051
link:RelNotes/1.7.10.1.txt[1.7.10.1],
5152
link:RelNotes/1.7.10.txt[1.7.10].
5253

Documentation/gitmodules.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,11 @@ submodule.<name>.update::
4141
the commit specified in the superproject. If 'merge', the commit
4242
specified in the superproject will be merged into the current branch
4343
in the submodule.
44+
If 'none', the submodule with name `$name` will not be updated
45+
by default.
46+
4447
This config option is overridden if 'git submodule update' is given
45-
the '--merge' or '--rebase' options.
48+
the '--merge', '--rebase' or '--checkout' options.
4649

4750
submodule.<name>.fetchRecurseSubmodules::
4851
This option can be used to control recursive fetching of this

0 commit comments

Comments
 (0)