mirror of
https://github.com/git/git
synced 2024-08-28 12:09:19 +00:00
Merge branch 'maint'
* maint: Update draft release notes to 1.7.9.2 completion: Allow dash as the first character for __git_ps1
This commit is contained in:
commit
887c409a7a
|
@ -4,27 +4,66 @@ Git v1.7.9.2 Release Notes
|
|||
Fixes since v1.7.9.1
|
||||
--------------------
|
||||
|
||||
* The error message emitted when we see an empty loose object was
|
||||
not phrased correctly.
|
||||
* Bash completion script (in contrib/) did not like a pattern that
|
||||
begins with a dash to be passed to __git_ps1 helper function.
|
||||
|
||||
* The code to ask for password did not fall back to the terminal
|
||||
input when GIT_ASKPASS is set but does not work (e.g. lack of X
|
||||
with GUI askpass helper).
|
||||
* Adaptation of the bash completion script (in contrib/) for zsh
|
||||
incorrectly listed all subcommands when "git <TAB><TAB>" was given
|
||||
to ask for list of porcelain subcommands.
|
||||
|
||||
* map_user() was not rewriting its output correctly, which resulted
|
||||
in the user visible symptom that "git blame -e" sometimes showed
|
||||
excess '>' at the end of email addresses.
|
||||
* The build procedure for profile-directed optimized binary was not
|
||||
working very well.
|
||||
|
||||
* "git checkout -b" did not allow switching out of an unborn branch.
|
||||
* Some systems need to explicitly link -lcharset to get locale_charset().
|
||||
|
||||
* "git commit" refused to create a commit when entries added with
|
||||
"add -N" remained in the index, without telling Git what their content
|
||||
in the next commit should be. We should have created the commit without
|
||||
these paths.
|
||||
* t5541 ignored user-supplied port number used for HTTP server testing.
|
||||
|
||||
* Search box in "gitweb" did not accept non-ASCII characters correctly.
|
||||
* The error message emitted when we see an empty loose object was
|
||||
not phrased correctly.
|
||||
|
||||
* Search interface of "gitweb" did not show multiple matches in the same file
|
||||
correctly.
|
||||
* The code to ask for password did not fall back to the terminal
|
||||
input when GIT_ASKPASS is set but does not work (e.g. lack of X
|
||||
with GUI askpass helper).
|
||||
|
||||
* We failed to give the true terminal width to any subcommand when
|
||||
they are invoked with the pager, i.e. "git -p cmd".
|
||||
|
||||
* map_user() was not rewriting its output correctly, which resulted
|
||||
in the user visible symptom that "git blame -e" sometimes showed
|
||||
excess '>' at the end of email addresses.
|
||||
|
||||
* "git checkout -b" did not allow switching out of an unborn branch.
|
||||
|
||||
* When you have both .../foo and .../foo.git, "git clone .../foo" did not
|
||||
favor the former but the latter.
|
||||
|
||||
* "git commit" refused to create a commit when entries added with
|
||||
"add -N" remained in the index, without telling Git what their content
|
||||
in the next commit should be. We should have created the commit without
|
||||
these paths.
|
||||
|
||||
* "git diff --stat" said "files", "insertions", and "deletions" even
|
||||
when it is showing one "file", one "insertion" or one "deletion".
|
||||
|
||||
* The output from "git diff --stat" for two paths that have the same
|
||||
amount of changes showed graph bars of different length due to the
|
||||
way we handled rounding errors.
|
||||
|
||||
* "git grep" did not pay attention to -diff (hence -binary) attribute.
|
||||
|
||||
* The transport programs (fetch, push, clone)ignored --no-progress
|
||||
and showed progress when sending their output to a terminal.
|
||||
|
||||
* Sometimes error status detected by a check in an earlier phase of
|
||||
"git receive-pack" (the other end of "git push") was lost by later
|
||||
checks, resulting in false indication of success.
|
||||
|
||||
* "git rev-list --verify" sometimes skipped verification depending on
|
||||
the phase of the moon, which dates back to 1.7.8.x series.
|
||||
|
||||
* Search box in "gitweb" did not accept non-ASCII characters correctly.
|
||||
|
||||
* Search interface of "gitweb" did not show multiple matches in the same file
|
||||
correctly.
|
||||
|
||||
Also contains minor fixes and documentation updates.
|
||||
|
|
|
@ -313,7 +313,7 @@ __git_ps1 ()
|
|||
fi
|
||||
|
||||
local f="$w$i$s$u"
|
||||
printf "${1:- (%s)}" "$c${b##refs/heads/}${f:+ $f}$r$p"
|
||||
printf -- "${1:- (%s)}" "$c${b##refs/heads/}${f:+ $f}$r$p"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue