~mdw
/
tig
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f655964
)
Improve sanity check error messages
author
Jonas Fonseca
<fonseca@diku.dk>
Sat, 6 Oct 2007 22:38:53 +0000
(
00:38
+0200)
committer
Jonas Fonseca
<fonseca@diku.dk>
Sat, 6 Oct 2007 22:56:57 +0000
(
00:56
+0200)
tig.c
patch
|
blob
|
blame
|
history
diff --git
a/tig.c
b/tig.c
index
5fb529e
..
933d083
100644
(file)
--- a/
tig.c
+++ b/
tig.c
@@
-3441,7
+3441,7
@@
status_enter(struct view *view, struct line *line)
break;
default:
- die("
w00t"
);
+ die("
line type %d not handled in switch", line->type
);
}
open_view(view, REQ_VIEW_STAGE, OPEN_RELOAD | OPEN_SPLIT);
@@
-3495,7
+3495,7
@@
status_update_file(struct view *view, struct status *status, enum line_type type
break;
default:
- die("
w00t"
);
+ die("
line type %d not handled in switch", type
);
}
pipe = popen(cmd, "w");
@@
-3610,7
+3610,7
@@
status_select(struct view *view, struct line *line)
break;
default:
- die("
w00t"
);
+ die("
line type %d not handled in switch", line->type
);
}
if (status && status->status == 'U') {