Skip to contentSkip to conversation

mistake in Release Notes for 1.6.2

DISCUSSION Markus Heidelberg 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Hello Junio,

Documentation/RelNotes-1.6.2.txt:

Quoted 1 line

* 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