git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* A couple branch questions
@ 2008-02-14  1:39 Jay Soffian
  2008-02-14  1:45 ` David Symonds
  0 siblings, 1 reply; 15+ messages in thread
From: Jay Soffian @ 2008-02-14  1:39 UTC (permalink / raw)
  To: Git Mailing List

1) git-branch -d <branchname> complains if <branchname> hasn't been
merged to HEAD. Shouldn't it really only complain if <branchname>
hasn't been merged into any local branch? i.e., as long as
<branchname> has been merged, why care to which branch?

2) Why does --track work only for remote tracking branches? I think it
would be useful for setting up topic branches. I've actually got this
alias setup, but maybe a --topic option for git-checkout and
git-branch would be useful to others (?):

topic = "!sh -c 'branch=$(git symbolic-ref HEAD); test -n \"$branch\"
&& git co -b \"$1\" && git config branch.\"$1\".merge \"$branch\" &&
git config branch.\"$1\".remote . && git config branch.\"$1\".rebase
true' -"

j.

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2008-02-14 20:19 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-14  1:39 A couple branch questions Jay Soffian
2008-02-14  1:45 ` David Symonds
2008-02-14  2:24   ` Bill Lear
2008-02-14  3:03     ` David Symonds
2008-02-14  3:43       ` Junio C Hamano
2008-02-14 14:01         ` Keeping reflogs on branch deletion Brian Downing
2008-02-14 15:00           ` Nicolas Pitre
2008-02-14 15:08             ` Johannes Schindelin
2008-02-14 15:17             ` Jeff King
2008-02-14 16:16               ` Nicolas Pitre
2008-02-14 16:31                 ` Jeff King
2008-02-14 17:32                   ` Nicolas Pitre
2008-02-14 17:57                     ` Jeff King
2008-02-14 20:17                       ` Wincent Colaiuta
2008-02-14 16:35           ` Jakub Narebski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).