Skip to content
Permalink
Browse files
make prepare-commit.sh work with git-new-workdir
  • Loading branch information
jef-n committed May 18, 2017
1 parent 40972f0 commit 0923f56cef7166a5d4a7a4a092cadc6572fb4b7d
Showing with 3 additions and 3 deletions.
  1. +1 −1 scripts/prepare-commit.sh
  2. +2 −2 src/core/qgscoordinatereferencesystem.cpp
@@ -53,7 +53,7 @@ if [ -z "$MODIFIED" ]; then
exit 0
fi

${TOPLEVEL}/scripts/spell_check/check_spelling.sh $MODIFIED
[ -x ${TOPLEVEL}/scripts/spell_check/check_spelling.sh ] && ${TOPLEVEL}/scripts/spell_check/check_spelling.sh $MODIFIED

# save original changes
REV=$(git log -n1 --pretty=%H)
@@ -2245,10 +2245,10 @@ bool QgsCoordinateReferenceSystem::syncDatumTransform( const QString &dbPath )
QStringList v;
v.reserve( sizeof( map ) / sizeof( *map ) );

for(;;)
for ( ;; )
{
char **values = CSVReadParseLine( fp );
if( !values )
if ( !values )
break;

v.clear();

0 comments on commit 0923f56

Please sign in to comment.