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,6 +4,20 @@ Git v1.7.9.2 Release Notes
|
|||||||
Fixes since v1.7.9.1
|
Fixes since v1.7.9.1
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
|
* Bash completion script (in contrib/) did not like a pattern that
|
||||||
|
begins with a dash to be passed to __git_ps1 helper function.
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
|
* The build procedure for profile-directed optimized binary was not
|
||||||
|
working very well.
|
||||||
|
|
||||||
|
* Some systems need to explicitly link -lcharset to get locale_charset().
|
||||||
|
|
||||||
|
* t5541 ignored user-supplied port number used for HTTP server testing.
|
||||||
|
|
||||||
* The error message emitted when we see an empty loose object was
|
* The error message emitted when we see an empty loose object was
|
||||||
not phrased correctly.
|
not phrased correctly.
|
||||||
|
|
||||||
@ -11,17 +25,42 @@ Fixes since v1.7.9.1
|
|||||||
input when GIT_ASKPASS is set but does not work (e.g. lack of X
|
input when GIT_ASKPASS is set but does not work (e.g. lack of X
|
||||||
with GUI askpass helper).
|
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
|
* map_user() was not rewriting its output correctly, which resulted
|
||||||
in the user visible symptom that "git blame -e" sometimes showed
|
in the user visible symptom that "git blame -e" sometimes showed
|
||||||
excess '>' at the end of email addresses.
|
excess '>' at the end of email addresses.
|
||||||
|
|
||||||
* "git checkout -b" did not allow switching out of an unborn branch.
|
* "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
|
* "git commit" refused to create a commit when entries added with
|
||||||
"add -N" remained in the index, without telling Git what their content
|
"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
|
in the next commit should be. We should have created the commit without
|
||||||
these paths.
|
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 box in "gitweb" did not accept non-ASCII characters correctly.
|
||||||
|
|
||||||
* Search interface of "gitweb" did not show multiple matches in the same file
|
* Search interface of "gitweb" did not show multiple matches in the same file
|
||||||
|
@ -313,7 +313,7 @@ __git_ps1 ()
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
local f="$w$i$s$u"
|
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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user