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

Re: [PATCH] Add bare repository indicator for __git_ps1

From
Marius Storm-Olsen <marius@trolltech.com>
Date
Feb 20, 2009, 21:55 UTC
Message-ID
<499F26E8.5090105@trolltech.com>
In-Reply-To
<499EDCCC.3030700@drmicha.warpmail.net>
Michael J Gruber said the following on 20.02.2009 17:39:
>> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
>> rv:1.8.1.19) Gecko/20081209 Lightning/0.9 Thunderbird/2.0.0.19
>> ThunderGit/0.1a Mnenhy/0.7.6.666
Heh, you noticed the user-agent extra \o/ :-)
Show 13 quoted lines
> Marius Storm-Olsen venit, vidit, dixit 20.02.2009 15:56:
>> Prefixes the branch name with "BARE:" if you're in a bare 
>> repository.
>> 
>> Signed-off-by: Marius Storm-Olsen <marius@trolltech.com> ---
>> Patch tried sent via ThunderGit extension. Sorry if it's mangled
>> :-)
> 
> Now what's that ThunderGit thingy? ;)
> 
> Seriously, I see you and Dscho have been carrying this on, and soon
> external commands may be lauched. Is this going in a git specific 
> direction rather than attaching patch files unmangled (UnflowedTB)?

Well, Dscho's intentions was, as the project name says, to simply send patches unflowed. I have, however, had many other features which I would like to see in a Git extension, which is why called it ThunderGit instead. First I want the extension to help with Best Practices for sending patches. Second, I want the extension to have neatness like:

   1) Saving a whole patch series as a mailbox, for easy apply. Maybe
      even a "create new branch based on <branch>, and apply series"
      feature? ^shrug^
   2) Send patch (series) based on a selected email
      (ie. setting "references" based on selection)
   3) Showing Git patches with diff coloring (maybe also in the
      editor, but mostly for received mails)
   4) Basic validation of patch before sending, like
      a) trailing whitespace
      b) consistent preceding whitespaces
      c) <add favorite>

This is my first extension though, so any help from people "in the know" would be great!

If all attempts fail to make the extension fool proof wrt sending proper unflowed patches, we could always just use Thunderbird as the front-end for 'git send-email' ;-) I'm almost tempted to already go that route, simply to avoid all the hassle. Then we could also just use the plaintext composer, instead of the HTML composer which isn't exactly "fool proof" for plaintext patches.

-- .marius

Previous: Michael J GruberNext: Ted Pavlic
Message 7 of 9 in “Add bare repository indicator for __git_ps1”
  1. Add bare repository indicator for __git_ps1Marius Storm-Olsen, Feb 20, 2009
  2. Johannes SchindelinFeb 20, 2009
  3. Thomas RastFeb 20, 2009
  4. Michael J GruberFeb 20, 2009
  5. Marius Storm-OlsenFeb 20, 2009
  6. Michael J GruberFeb 20, 2009
  7. Marius Storm-OlsenFeb 20, 2009
  8. Ted PavlicFeb 20, 2009
  9. Marius Storm-OlsenFeb 20, 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.