1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-23 00:07:25 +00:00

Merge pull request #1501 from gliptak/patch-1

Correct typos
This commit is contained in:
Alexander Neumann 2017-12-24 21:10:08 +01:00
commit 740ee787c1

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")
} }
} }