mirror of
https://github.com/taigrr/gitomatic.git
synced 2026-04-17 10:54:45 -07:00
Use the imperative mood in the subject line
https://chris.beams.io/posts/git-commit/#seven-rules
This commit is contained in:
committed by
Christian Muehlhaeuser
parent
a36d19df32
commit
8df8916e15
6
main.go
6
main.go
@@ -152,7 +152,7 @@ func main() {
|
|||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
msg += fmt.Sprintf("Added %s.\n", path)
|
msg += fmt.Sprintf("Add %s.\n", path)
|
||||||
changes++
|
changes++
|
||||||
|
|
||||||
case git.Modified:
|
case git.Modified:
|
||||||
@@ -162,7 +162,7 @@ func main() {
|
|||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
msg += fmt.Sprintf("Updated %s.\n", path)
|
msg += fmt.Sprintf("Update %s.\n", path)
|
||||||
changes++
|
changes++
|
||||||
|
|
||||||
case git.Deleted:
|
case git.Deleted:
|
||||||
@@ -172,7 +172,7 @@ func main() {
|
|||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
msg += fmt.Sprintf("Removed %s.\n", path)
|
msg += fmt.Sprintf("Remove %s.\n", path)
|
||||||
changes++
|
changes++
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user