git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: can we allow -t abbreviation for --track in 'git branch'

From
Sitaram Chamarty <sitaramc@gmail.com>
Date
May 10, 2009, 04:23 UTC
Message-ID
<slrnh0cllu.juu.sitaramc@sitaramc.homelinux.net>
In-Reply-To
<7vab5m9ujb.fsf@alter.siamese.dyndns.org>
On 2009-05-09, Junio C Hamano <gitster@pobox.com> wrote:
Show 13 quoted lines
> Sitaram Chamarty <sitaramc@gmail.com> writes:
>
>> Would it make sense to teach "git branch" the short option
>> "-t" the same way that "git checkout" knows it, (ie., as an
>> abbreviation for "--track")?
>>
>> I use both frequently, and often forget that in "git branch"
>> the short option does not work.
>>
>> If people think it's OK I'll submit a patch (code and doc).
>
> I have <20090428152119.GA18935@atc.tcs.com> (aka $gmane/117790) in my
> inbox.

Thanks. I posted it some days ago, but then began to wonder if there was more to that change than I thought, and perhaps I should have *asked* first.

Sitaram
PS: And I saw http://gitster.livejournal.com/33638.html only
just now... :-)
Previous: Junio C Hamano
Message 4 of 4 in “can we allow -t abbreviation for --track in 'git branch'”
  1. Sitaram ChamartyMay 9, 2009
  2. Nicolas SebrechtMay 9, 2009
  3. Junio C HamanoMay 9, 2009
  4. Sitaram ChamartyMay 10, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.