Re: [PATCH v2 6/6] wt-status: read rebase todolist with strbuf_getline()

2016-02-22 Thread Junio C Hamano
Moritz Neeb writes: > diff --git a/wt-status.c b/wt-status.c > index ab4f80d..8047cf2 100644 > --- a/wt-status.c > +++ b/wt-status.c > @@ -1076,10 +1076,9 @@ static void read_rebase_todolist(const char *fname, > struct string_list *lines) > if (!f) > die_errno("Could not open

[PATCH v2 6/6] wt-status: read rebase todolist with strbuf_getline()

2016-02-21 Thread Moritz Neeb
In read_rebase_todolist() the files $GIT_DIR/rebase-merge/done and $GIT_DIR/rebase-merge/git-rebase-todo are read to collect status information. The access to this file should always happen via git rebase, e.g. via "git rebase -i" or "git rebase --edit-todo". We can assume, that this interface han