Re: stg branch -r instructions

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Karl
Date: Monday, March 17, 2008 - 6:42 am

On 2008-03-17 13:14:07 +0100, David Kågedal wrote:


Yes, this is far from pretty.


My first thought was another level of subcommands:

  stg branch NAME [COMMIT]
  stg branch list
  stg branch rename OLD NEW

But this would create ambiguities -- how do I create a branch called
"list"?. One could go with something like

  stg branch NAME [COMMIT]
  stg branch/list
  stg branch/rename OLD NEW

but this is highly non-standard, and would probably confuse every
single new user. Perhaps with dashes instead:

  stg branch NAME [COMMIT]
  stg branch-list
  stg branch-rename OLD NEW

Which is essentially what you proposed, but with more regular (and
more tab-completion-friendly) names.

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
stg branch -r instructions, David Kågedal, (Mon Mar 17, 5:14 am)
Re: stg branch -r instructions, Karl , (Mon Mar 17, 6:42 am)