Use the imperative mood in the subject line

https://chris.beams.io/posts/git-commit/#seven-rules
This commit is contained in:
Ross Smith II
2019-08-03 07:45:39 -07:00
committed by Christian Muehlhaeuser
parent a36d19df32
commit 8df8916e15

View File

@@ -152,7 +152,7 @@ func main() {
panic(err)
}
msg += fmt.Sprintf("Added %s.\n", path)
msg += fmt.Sprintf("Add %s.\n", path)
changes++
case git.Modified:
@@ -162,7 +162,7 @@ func main() {
panic(err)
}
msg += fmt.Sprintf("Updated %s.\n", path)
msg += fmt.Sprintf("Update %s.\n", path)
changes++
case git.Deleted:
@@ -172,7 +172,7 @@ func main() {
panic(err)
}
msg += fmt.Sprintf("Removed %s.\n", path)
msg += fmt.Sprintf("Remove %s.\n", path)
changes++
}
}