pull --rebase: exit early when the working directory is dirty
[gitweb.git] / reflog-walk.h
index a4f7015d3e77b7f59ac5bf1e01713b8d277bc879..7ca1438f4d74b652f962c6bdfddd08fe0d75802d 100644 (file)
@@ -2,7 +2,7 @@
 #define REFLOG_WALK_H
 
 extern void init_reflog_walk(struct reflog_walk_info** info);
-extern void add_reflog_for_walk(struct reflog_walk_info *info,
+extern int add_reflog_for_walk(struct reflog_walk_info *info,
                struct commit *commit, const char *name);
 extern void fake_reflog_parent(struct reflog_walk_info *info,
                struct commit *commit);