Git hooks

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

Re: Git hooks

Post by ToonArmy » Tue Sep 07, 2010 10:38 pm

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 » Sat Sep 11, 2010 2:56 am

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 » Sat Sep 11, 2010 11:46 am

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

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

Re: Git hooks

Post by ToonArmy » Wed Sep 15, 2010 9:07 pm

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