mirror of
https://github.com/vbatts/git-validation.git
synced 2025-06-04 11:02:27 +00:00
git & validation: skip git check on initial commit because it needs a range
Fixes #66 Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
679e5cad8c
commit
a41c47c06a
2 changed files with 25 additions and 0 deletions
|
@ -47,6 +47,7 @@ func NewRunner(root string, rules []Rule, commitrange string, verbose bool) (*Ru
|
|||
}
|
||||
}
|
||||
}
|
||||
logrus.Debugf("[NewRunner] commitrange: %q", commitrange)
|
||||
return &Runner{
|
||||
Root: newroot,
|
||||
Rules: rules,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue