Changeset 7f3c3aaa2bd2…
Parent f0b71af5901f…
by Benjamin Pollack <benjamin@fogcreek.com>
Changes to 2 files · Browse files at 7f3c3aaa2bd2 Showing diff from parent f0b71af5901f Diff from another changeset...
@@ -240,7 +240,9 @@ case "show":
if ensureArgs(3, "you must supply at least one commit SHA to show") {
for _, commit := range os.Args[2:len(os.Args)] {
- k.BrowseCommit(repoPath, commit)
+ if err := k.BrowseCommit(repoPath, commit); err != nil {
+ fmt.Fprintf(os.Stderr, "couldn't load commit: %v\n", err)
+ }
}
}
case "showfile":
|
Loading...