Sync with maint

* maint:
  Update draft release notes to 1.8.2.2
  completion: remove duplicate block for "git commit -c"
  cherry-pick/revert: make usage say '<commit-ish>...'
This commit is contained in:
Junio C Hamano 2013-04-24 16:30:04 -07:00
commit 2d0b07178d
3 changed files with 20 additions and 9 deletions

View File

@ -4,6 +4,24 @@ Git v1.8.2.2 Release Notes
Fixes since v1.8.2.1
--------------------
* "git diff --diff-algorithm=algo" was understood by the command line
parser, but "git diff --diff-algorithm algo" was not.
* "git log -S/-G" started paying attention to textconv filter, but
there was no way to disable this. Make it honor --no-textconv
option.
* "git merge $(git rev-parse v1.8.2)" behaved quite differently from
"git merge v1.8.2", as if v1.8.2 were written as v1.8.2^0 and did
not pay much attention to the annotated tag payload. Make the code
notice the type of the tag object, in addition to the dwim_ref()
based classification the current code uses (i.e. the name appears
in refs/tags/) to decide when to special case merging of tags.
* "git cherry-pick" and "git revert" can take more than one commit
on the command line these days, but it was not mentioned on the usage
text.
* Perl scripts like "git-svn" closed (not redirecting to /dev/null)
the standard error stream, which is not a very smart thing to do.
Later open may return file descriptor #2 for unrelated purpose, and

View File

@ -19,13 +19,13 @@
*/
static const char * const revert_usage[] = {
N_("git revert [options] <commit-ish>"),
N_("git revert [options] <commit-ish>..."),
N_("git revert <subcommand>"),
NULL
};
static const char * const cherry_pick_usage[] = {
N_("git cherry-pick [options] <commit-ish>"),
N_("git cherry-pick [options] <commit-ish>..."),
N_("git cherry-pick <subcommand>"),
NULL
};

View File

@ -1184,13 +1184,6 @@ _git_commit ()
;;
esac
case "$prev" in
-c|-C)
__gitcomp_nl "$(__git_refs)" "" "${cur}"
return
;;
esac
case "$cur" in
--cleanup=*)
__gitcomp "default strip verbatim whitespace