message: hide mRefs when clicking in the commitlist, because then it makes not that much sense to select different branches
diff: @@ -36,6 +36,7 @@ NewBranchDialog::NewBranchDialog(const git::Repository &repo,
  mRefs = new ReferenceList(repo, kinds, this);
  mRefs->select(repo.head());
  mRefs->setCommit(commit);
  + mRefs->setVisible(!commit.isValid());
  mCheckout = new QCheckBox(tr("Checkout branch"), this);
  mCheckout->setVisible(qobject_cast<RepoView *>(parent));
  @@ -45,7 +46,9 @@ NewBranchDialog::NewBranchDialog(const git::Repository &repo,
  QFormLayout *form = new QFormLayout;
  form->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
  form->addRow(tr("Name:"), mName);
  + if (!commit.isValid()) {
  form->addRow(tr("Start Point:"), mRefs);
  + }
  form->addRow(QString(), mCheckout);
  form->addRow(tr("Advanced:"), expand);
  