W dniu 04.10.2016 o 15:05, Johannes Schindelin pisze: > Subject: Export also the has_un{staged,committed}_changed() functions s/changed/changes/ that is d -> s Those are has_unstaged_changes() and has_uncommitted_changes(). Though I wonder if "other has_un*_changes() functions" would be more readable (while shorter), if less specific... > > They will be used in the upcoming rebase helper. > > Signed-off-by: Johannes Schindelin <johannes.schindelin@xxxxxx> > --- [...] > -/* The following function expect that the caller took care of reading the index. */ > +/* The following functions expect that the caller took care of reading the index. */ > +int has_unstaged_changes(void); > +int has_uncommitted_changes(void); > int require_clean_work_tree(const char *action, const char *hint, int gently); Nice to see the fix in comment too. Good work! -- Jakub Narębski