aboutsummaryrefslogtreecommitdiffstats
path: root/build/update-license.go
diff options
context:
space:
mode:
Diffstat (limited to 'build/update-license.go')
-rw-r--r--build/update-license.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/update-license.go b/build/update-license.go
index e0c273def..f3335b119 100644
--- a/build/update-license.go
+++ b/build/update-license.go
@@ -294,7 +294,7 @@ func getInfo(files <-chan string, out chan<- *info, wg *sync.WaitGroup) {
wg.Done()
}
-// fileInfo finds the lowest year in which the given file was commited.
+// fileInfo finds the lowest year in which the given file was committed.
func fileInfo(file string) (*info, error) {
info := &info{file: file, Year: int64(time.Now().Year())}
cmd := exec.Command("git", "log", "--follow", "--find-renames=80", "--find-copies=80", "--pretty=format:%ai", "--", file)