Sync with 1.7.10.2

maint
Junio C Hamano 2012-05-11 11:29:02 -07:00
commit 0ef576d308
4 changed files with 22 additions and 7 deletions

View File

@ -14,6 +14,9 @@ Fixes since v1.7.10.1
* HTTP transport that requires authentication did not work correctly when * HTTP transport that requires authentication did not work correctly when
multiple connections are used simultaneously. multiple connections are used simultaneously.


* Minor memory leak during unpack_trees (hence "merge" and "checkout"
to check out another branch) has been plugged.

* In the older days, the header "Conflicts:" in "cherry-pick" and "merge" * In the older days, the header "Conflicts:" in "cherry-pick" and "merge"
was separated by a blank line from the list of paths that follow for was separated by a blank line from the list of paths that follow for
readability, but when "merge" was rewritten in C, we lost it by readability, but when "merge" was rewritten in C, we lost it by
@ -52,13 +55,24 @@ Fixes since v1.7.10.1
* "git push" over smart-http lost progress output a few releases ago; * "git push" over smart-http lost progress output a few releases ago;
this release resurrects it. this release resurrects it.


* The error and advice messages given by "git push" when it fails due
to non-ff were not very helpful to new users; it has been broken
into three cases, and each is given a separate advice message.

* The insn sheet given by "rebase -i" did not make it clear that the * The insn sheet given by "rebase -i" did not make it clear that the
insn lines can be re-ordered to affect the order of the commits in insn lines can be re-ordered to affect the order of the commits in
the resulting history. the resulting history.


* "git repack" used to write out unreachable objects as loose objects
when repacking, even if such loose objects will immediately pruned
due to its age.

* A contrib script "rerere-train" did not work out of the box unless * A contrib script "rerere-train" did not work out of the box unless
user futzed with her $PATH. user futzed with her $PATH.


* "git rev-parse --show-prefix" used to emit nothing when run at the
top-level of the working tree, but now it gives a blank line.

* The i18n of error message "git stash save" was not properly done. * The i18n of error message "git stash save" was not properly done.


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

View File

@ -140,7 +140,8 @@ update::
checkout the commit specified in the index of the containing repository. checkout the commit specified in the index of the containing repository.
This will make the submodules HEAD be detached unless `--rebase` or This will make the submodules HEAD be detached unless `--rebase` or
`--merge` is specified or the key `submodule.$name.update` is set to `--merge` is specified or the key `submodule.$name.update` is set to
`rebase`, `merge` or `none`. `rebase`, `merge` or `none`. `none` can be overriden by specifying
`--checkout`.
+ +
If the submodule is not yet initialized, and you just want to use the If the submodule is not yet initialized, and you just want to use the
setting as stored in .gitmodules, you can automatically initialize the setting as stored in .gitmodules, you can automatically initialize the
@ -148,10 +149,6 @@ submodule with the `--init` option.
+ +
If `--recursive` is specified, this command will recurse into the If `--recursive` is specified, this command will recurse into the
registered submodules, and update any nested submodules within. registered submodules, and update any nested submodules within.
+
If the configuration key `submodule.$name.update` is set to `none` the
submodule with name `$name` will not be updated by default. This can be
overriden by adding `--checkout` to the command.


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

View File

@ -44,9 +44,10 @@ unreleased) version of git, that is available from 'master'
branch of the `git.git` repository. branch of the `git.git` repository.
Documentation for older releases are available here: Documentation for older releases are available here:


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


* release notes for * release notes for
link:RelNotes/1.7.10.2.txt[1.7.10.2],
link:RelNotes/1.7.10.1.txt[1.7.10.1], link:RelNotes/1.7.10.1.txt[1.7.10.1],
link:RelNotes/1.7.10.txt[1.7.10]. link:RelNotes/1.7.10.txt[1.7.10].



View File

@ -41,8 +41,11 @@ submodule.<name>.update::
the commit specified in the superproject. If 'merge', the commit the commit specified in the superproject. If 'merge', the commit
specified in the superproject will be merged into the current branch specified in the superproject will be merged into the current branch
in the submodule. in the submodule.
If 'none', the submodule with name `$name` will not be updated
by default.

This config option is overridden if 'git submodule update' is given This config option is overridden if 'git submodule update' is given
the '--merge' or '--rebase' options. the '--merge', '--rebase' or '--checkout' options.


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