Re: [PATCH] contrib/hooks/post-receive-email: checks for gitweb.description
- From
- Bruno Cesar Ribas <ribas@c3sl.ufpr.br>
- Date
- Feb 18, 2008, 03:46 UTC
- Message-ID
- <20080218034659.GA21776@c3sl.ufpr.br>
- In-Reply-To
- <20080213002439.GA31455@c3sl.ufpr.br>
Forgoten?! 8^) On Tue, Feb 12, 2008 at 10:24:40PM -0200, Bruno Cesar Ribas wrote:
Show 39 quoted lines
> I can resend with no problem =) > > On Tue, Feb 12, 2008 at 12:17:57AM -0800, Jakub Narebski wrote: > > 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 > - > 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