summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2349184)
raw | patch | inline | side by side (parent: 2349184)
author | Jonas Fonseca <fonseca@diku.dk> | |
Thu, 3 Apr 2008 23:43:26 +0000 (01:43 +0200) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Thu, 3 Apr 2008 23:43:26 +0000 (01:43 +0200) |
This usually means that the arguments did not match any revisions or file.
tig.c | patch | blob | history |
index 7ca509c369a846009627576e5d847b678e47e865..04c607f12f1d11bda63f8890de9c440abbd447f8 100644 (file)
--- a/tig.c
+++ b/tig.c
if (view->lines > 0)
pipe = popen(view->cmd, "r");
+ else if (!view->parent)
+ die("No blame exist for %s", view->vid);
view->cmd[0] = 0;
if (!pipe) {
report("Failed to load blame data");
struct commit *commit;
if (!line) {
+ if (!view->lines && !view->parent)
+ die("No revisions match the given arguments.");
update_rev_graph(graph);
return TRUE;
}