2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-03 09:30:50 +00:00

Correct typos

This commit is contained in:
Gábor Lipták 2017-12-24 12:06:52 -05:00 committed by GitHub
parent 6b564d21b3
commit 2eba0bfeec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,7 +129,7 @@ func preCheckUncommittedChanges() {
changes := uncommittedChanges() changes := uncommittedChanges()
if len(changes) > 0 { if len(changes) > 0 {
die("uncommited changes found:\n%s\n", changes) die("uncommitted changes found:\n%s\n", changes)
} }
} }
@ -191,7 +191,7 @@ func generateFiles() {
changes := uncommittedChanges("doc") changes := uncommittedChanges("doc")
if len(changes) > 0 { if len(changes) > 0 {
msg("comitting manpages and auto-completion") msg("committing manpages and auto-completion")
run("git", "commit", "-m", "Update manpages and auto-completion", "doc") run("git", "commit", "-m", "Update manpages and auto-completion", "doc")
} }
} }
@ -203,7 +203,7 @@ func updateVersion() {
} }
if len(uncommittedChanges("VERSION")) > 0 { if len(uncommittedChanges("VERSION")) > 0 {
msg("comitting file VERSION") msg("committing file VERSION")
run("git", "commit", "-m", fmt.Sprintf("Add VERSION for %v", opts.Version), "VERSION") run("git", "commit", "-m", fmt.Sprintf("Add VERSION for %v", opts.Version), "VERSION")
} }
} }