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

Re: [PATCH] contrib/hooks/post-receive-email: checks for gitweb.description

From
BRBruno Cesar Ribas <ribas@c3sl.ufpr.br>
Date
Feb 13, 2008, 00:24 UTC
Message-ID
<20080213002439.GA31455@c3sl.ufpr.br>
In-Reply-To
<m3wspad1xd.fsf@localhost.localdomain>
I can resend with no problem =)
On Tue, Feb 12, 2008 at 12:17:57AM -0800, Jakub Narebski wrote:
Show 27 quoted lines
> Bruno Ribas <ribas@c3sl.ufpr.br> writes:
> 
> > -projectdesc=$(sed -ne '1p' "$GIT_DIR/description")
> > +if [ -f "$GIT_DIR/description" ]; then
> > +	projectdesc=$(sed -ne '1p' "$GIT_DIR/description")
> > +else
> > +	projectdesc=$(git-config gitweb.description)
> 
>   +	projectdesc=$(git config gitweb.description)
> 
> > +fi
> >  # Check if the description is unchanged from it's default, and shorten it to
> >  # a more manageable length if it is
> >  if expr "$projectdesc" : "Unnamed repository.*$" >/dev/null
> > -- 
> > 1.5.4.24.gce08d
> 
> (but this can be fixed when applying).
> 
> -- 
> Jakub Narebski
> Poland
> ShadeHawk on #git
> -
> 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
-- 
Bruno Ribas - ribas@c3sl.ufpr.br
http://web.inf.ufpr.br/ribas
C3SL: http://www.c3sl.ufpr.br 
Previous: Jakub NarebskiNext: Bruno Cesar Ribas
Message 3 of 5 in “contrib/hooks/post-receive-email: checks for gitweb.description”
  1. contrib/hooks/post-receive-email: checks for gitweb.descriptionBruno Ribas, Feb 12, 2008
  2. Jakub NarebskiFeb 12, 2008
  3. Bruno Cesar RibasFeb 13, 2008
  4. Bruno Cesar RibasFeb 18, 2008
  5. Junio C HamanoFeb 18, 2008

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.