Git hooks

Discuss general development subjects that are not specific to a particular version like the versioning control system we use or other infrastructure.
ToonArmy
Registered User
Posts: 335
Joined: Fri Mar 26, 2004 7:31 pm
Location: Bristol, UK
Contact:

Re: Git hooks

Post by ToonArmy »

eviL3 wrote:Can we have that section commented out until a cross-platform solution is found? I'd really like to re-enable my git plugins. :)
http://tracker.phpbb.com/browse/PHPBB3-9808
Chris SmithBlogXMOOhlohArea51WikiNo support via PM/IM
Image

Oleg
Posts: 1150
Joined: Tue Feb 23, 2010 2:38 am
Contact:

Re: Git hooks

Post by Oleg »

if test $(cat $file |cut -c 80- |wc -w) -ne 0; then
echo $file has lines exceeding 79 chars
fi

User avatar
bantu
3.0 Release Manager
3.0 Release Manager
Posts: 557
Joined: Thu Sep 07, 2006 11:22 am
Location: Karlsruhe, Germany
Contact:

Re: Git hooks

Post by bantu »

nn- wrote:if test $(cat $file |cut -c 80- |wc -w) -ne 0; then
echo $file has lines exceeding 79 chars
fi
Looks like it was already fixed. http://tracker.phpbb.com/browse/PHPBB3-9808

ToonArmy
Registered User
Posts: 335
Joined: Fri Mar 26, 2004 7:31 pm
Location: Bristol, UK
Contact:

Re: Git hooks

Post by ToonArmy »

nn- wrote:if test $(cat $file |cut -c 80- |wc -w) -ne 0; then
echo $file has lines exceeding 79 chars
fi
That's a nice solution, but yes I've already fixed it unless there is further issues.
Chris SmithBlogXMOOhlohArea51WikiNo support via PM/IM
Image

Post Reply