Skip to content
Snippets Groups Projects
Commit cf3b0ce8 authored by Allan Blanchard's avatar Allan Blanchard
Browse files

[lint] fix typo in amend

parent 9d5897c8
No related branches found
No related tags found
No related merge requests found
......@@ -49,9 +49,9 @@
# looks at unstaged files
# - make <lint-target>.before-commit-a
# looks at unstaged and staged files
# - make <lint-target>.before-commit-a--ammend
# - make <lint-target>.before-commit-a--amend
# looks at unstaged, staged and previously committed files
# - make <lint-target>.before-commit--ammend
# - make <lint-target>.before-commit--amend
# looks at staged and previously committed files and checks that there is no unstaged files
# - make <lint-target>.before-commit
# looks at staged files and checks that there is no unstaged files
......@@ -276,15 +276,15 @@ $(eval $(call LINT.file-list-filter-with-git-diff,before-commit,--cached HEAD,LI
$(eval $(call LINT.file-list-filter-with-git-diff,before-commit-a,HEAD,))
#### rules for make <lint-target>.before-commit-a--ammend
#### rules for make <lint-target>.before-commit-a--amend
## looks at unstaged, staged and previously committed files
$(eval $(call LINT.file-list-filter-with-git-diff,before-commit-a--ammend,HEAD~1,))
$(eval $(call LINT.file-list-filter-with-git-diff,before-commit-a--amend,HEAD~1,))
#### rules for make <lint-target>.before-commit--amend
## looks at staged and previously committed files and checks that there is no unstaged files
$(eval $(call LINT.file-list-filter-with-git-diff,before-commit--ammend,HEAD~1,LINT.checked-unstaged-ok))
$(eval $(call LINT.file-list-filter-with-git-diff,before-commit--amend,HEAD~1,LINT.checked-unstaged-ok))
#### rules for make <lint-target>.previous-commit
## looks at files of the last commit and checks that there is no staged nor unstaged files
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment