commands: use active voice for lock messages

This commit is contained in:
risk danger olson 2017-02-23 12:54:57 -07:00
parent d68344f07d
commit d292a19f51
3 changed files with 3 additions and 3 deletions

@ -42,7 +42,7 @@ func lockCommand(cmd *cobra.Command, args []string) {
return
}
Print("\n'%s' was locked (%s)", args[0], lock.Id)
Print("Locked %s", args[0])
}
// lockPaths relativizes the given filepath such that it is relative to the root

@ -61,7 +61,7 @@ func unlockCommand(cmd *cobra.Command, args []string) {
}
return
}
Print("'%s' was unlocked", args[0])
Print("Unlocked %s", args[0])
}
func unlockAbortIfFileModified(path string) {

@ -36,7 +36,7 @@ begin_test "creating a lock (with output)"
setup_remote_repo_with_file "$reponame" "a_output.dat"
git lfs lock "a_output.dat" | tee lock.log
grep "'a_output.dat' was locked" lock.log
grep "Locked a_output.dat" lock.log
id=$(grep -oh "\((.*)\)" lock.log | tr -d \(\))
assert_server_lock "$reponame" "$id"
)