Bug#506480: git-branch: fails to branch an empty repository with confusing message

2012-02-22 Thread Jonathan Nieder
clone 506480 -1 retitle -1 confusing message when creating branch from unborn branch ("Not a valid object name: 'master'") tags 506480 + fixed-upstream quit Hi Eugene, Eugene V. Lyubimkin wrote: > Suppose I want to create git repo for Debian packaging. First > what > I want to

Bug#506480: git-branch: fails to branch an empty repository with confusing message

2008-12-14 Thread Eugene V. Lyubimkin
Luca Bruno wrote: > Hi Eugene, > git documentation clearly says you have to do the first commit before > gaining the master branch. You can't create a new branch without having > another one... what would you intend to branch from? Empty repo. > The error message is unclear but it's meaningless to

Bug#506480: git-branch: fails to branch an empty repository with confusing message

2008-11-21 Thread Eugene V. Lyubimkin
Package: git-core Version: 1:1.5.6.5-1 Severity: minor I have prepared empty git repository by invoking 'git-init'. And then: -8<- $ git branch $ ->8- So no branches shown. Eh, let's create branch: -8<- $ git branch upstream fatal: Not a valid object name: 'master'. ->8- Error message is quit