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

Re: git/gitweb - feature request: Add description to the branches.

From
Junio C Hamano <junkio@cox.net>
Date
Sep 8, 2005, 01:27 UTC
Message-ID
<7vll281h7k.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<431DA8CD.9060009@gmail.com>
A Large Angry SCM <gitzilla@gmail.com> writes:
Show 18 quoted lines
> Santi Béjar wrote:
> [...]
>>         One thing I'm missing is a way to describe a branch. It can
>> be
>>         done in the $GIT_DIR/description, the first line for the whole
>>         repository and the rest for the branches. So description file
>>         for the git.git repository could be:
>> [description]
>> The core git plumbing
>> pu: Proposed updates
>> rc: Release candidate
>> todo: Todo list
>> [/description]
>>         And it can be added to the gitweb tool.
>
> Having somewhere to describe the intent of a branch would be a useful 
> convention. But I think the descriptions should be in separate files; 
> one for each branch and one for the repository as a whole.

This reminds me of somebody else wanting to have 'motd' in git-daemon. Once we have a common data format we could also serve this information from there, and possibly from 'git fetch --motd'; pass that to 'git-peek-remote --motd' for git and ssh transports, and do something else using curl for http transport.

Anybody interested? I think the git-daemon side would be the cleanest if we introduce a new program to format the motd information and send it out, instead of attempting to enhance git-upload-pack protocol; I do not think the latter can be done in a backward compatible way.

Previous: A Large Angry SCMNext: A Large Angry SCM
Message 3 of 11 in “git/gitweb - feature request: Add description to the branches.”
  1. Santi BéjarSep 6, 2005
  2. A Large Angry SCMSep 6, 2005
  3. Junio C HamanoSep 8, 2005
  4. [RFC] GIT Repository Annotation ConventionA Large Angry SCM, Sep 8, 2005
  5. Junio C HamanoSep 8, 2005
  6. A Large Angry SCMSep 8, 2005
  7. Matthias UrlichsSep 11, 2005
  8. A Large Angry SCMSep 11, 2005
  9. Matthias UrlichsSep 13, 2005
  10. A Large Angry SCMSep 8, 2005
  11. A Large Angry SCMSep 9, 2005

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.