commands/command_smudge: print shorthand error in output
This commit is contained in:
parent
21a2e157ba
commit
2f96d81358
@ -75,7 +75,7 @@ func smudge(to io.Writer, from io.Reader, filename string, skip bool, filter *fi
|
||||
oid = oid[:7]
|
||||
}
|
||||
|
||||
LoggedError(err, "Error downloading object: %s (%s): %s", filename, oid)
|
||||
LoggedError(err, "Error downloading object: %s (%s): %s", filename, oid, err)
|
||||
if !cfg.SkipDownloadErrors() {
|
||||
os.Exit(2)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user