summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0e1214b)
raw | patch | inline | side by side (parent: 0e1214b)
author | Jonas Fonseca <fonseca@diku.dk> | |
Wed, 18 Nov 2009 03:48:53 +0000 (22:48 -0500) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Wed, 18 Nov 2009 04:31:31 +0000 (23:31 -0500) |
tig.c | patch | blob | history |
index af8e19695425162eed687d2bdf14330137b4bdb3..e931ce246fc7ab59b4976e021c77ff423d47520d 100644 (file)
--- a/tig.c
+++ b/tig.c
}
static bool
-run_io_rd(struct io *io, const char **argv, enum format_flags flags)
+run_io_rd(struct io *io, const char **argv, const char *dir, enum format_flags flags)
{
- return init_io_rd(io, argv, NULL, flags) && start_io(io);
+ return init_io_rd(io, argv, dir, flags) && start_io(io);
}
static bool
{
struct io io = {};
- return run_io_rd(&io, argv, FORMAT_NONE) && io_read_buf(&io, buf, bufsize);
+ return run_io_rd(&io, argv, NULL, FORMAT_NONE)
+ && io_read_buf(&io, buf, bufsize);
}
static int
"--simplify-by-decoration", "--all", NULL
};
- if (!run_io_rd(&view->io, branch_log, FORMAT_NONE)) {
+ if (!run_io_rd(&view->io, branch_log, NULL, FORMAT_NONE)) {
report("Failed to load branch data");
return TRUE;
}