Commit ef4f1434 authored by Rohan McGovern's avatar Rohan McGovern Committed by Oswald Buddenhagen
Browse files

sanitize-commit: combine $ln and $lineno variables


Use a single variable for the current line number of the commit message
and of the current file, in preparation for new checks which use this information.

Note that $lineno always counts from 1. Previously, $ln counted from 0 while
$lineno counted from 1.

Change-Id: I3a87d29df1378e304a27a7672630f0319dc863a2
Reviewed-by: default avatarSergio Ahumada <sergio.ahumada@digia.com>
Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@digia.com>
parent 71131585
Showing with 6 additions and 5 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment