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

Re: Git/Terminal issue

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Jul 15, 2009, 11:51 UTC
Message-ID
<4A5DC2A5.2010504@drmicha.warpmail.net>
In-Reply-To
<24495974.post@talk.nabble.com>
GleMarS venit, vidit, dixit 15.07.2009 13:27:
Show 16 quoted lines
> 
> Hi,
> 
> I'm getting rage. Basically whenever I navigate to a folder that contains a
> .git folder in Terminal (os x leopard), it prints a load of usage text. it's
> driving me mad, I've uninstalled - re-installed etc etc and no joy.
> 
> I have set up git on other machines without any issue so I'm baffled. Output
> image attached.
> 
> Help appreciated.
> 
> http://www.nabble.com/file/p24495974/terminal_low.jpg 
> 
> 
> Cheers.

Are you using bash completion for git by any chance? Something calls "git branch" with incorrect parameters, and it may be the call which recalculates the bits for PS1.

Michael
Previous: GleMarSNext: Steven Noonan
Message 2 of 5 in “Git/Terminal issue”
  1. GleMarSJul 15, 2009
  2. Michael J GruberJul 15, 2009
  3. Steven NoonanJul 15, 2009
  4. Glen SwinfieldJul 15, 2009
  5. Alex RiesenJul 15, 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.