better error message for push with no args
only _really old_ git lfs installs had the original hook
This commit is contained in:
parent
cd4ccd3c9f
commit
491fecde83
@ -36,7 +36,7 @@ func pushCommand(cmd *cobra.Command, args []string) {
|
||||
var left, right string
|
||||
|
||||
if len(args) == 0 {
|
||||
Print("The git lfs pre-push hook is out of date. Please run `git lfs update`")
|
||||
Print("Specify a remote and a remote branch name (`git lfs push origin master`)")
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user