threads / discuss / 17196

mistake in Release Notes for 1.6.2

Subject: mistake in Release Notes for 1.6.2

## tl;dr

One message between Jan 15, 2009 and Jan 15, 2009.

replies: 0people: 1as markdown or json

Markus Heidelberg· Jan 15, 2009, 22:13 UTC · lore
Hello Junio,
Documentation/RelNotes-1.6.2.txt:
> * git-cherry defaults to HEAD when the <upstream> argument is not given.
This is not correct, see commit f2968022 (2008-12-29):
    git-cherry: make <upstream> parameter optional
    The upstream branch <upstream> now defaults to the first tracked
    remote branch, which is set by the configuration variables
    branch.<name>.remote and branch.<name>.merge of the current branch.
    Without such a remote branch, the command "git cherry [-v]" fails with
    usage output as before and an additional message.
I guess it's a mistake in hurry, not every default value is HEAD :)
Markus

← back to recent threads