wt-status: export also the has_un{staged,committed}_changes() functions
[gitweb.git] / wt-status.h
index 68b4709835c825222f08775107c74a131cfc9dcf..68e367a235f814c8c2eb79bc0b6fe5c890e2a324 100644 (file)
@@ -128,7 +128,9 @@ void status_printf_ln(struct wt_status *s, const char *color, const char *fmt, .
 __attribute__((format (printf, 3, 4)))
 void status_printf(struct wt_status *s, const char *color, const char *fmt, ...);
 
-/* The following function expects 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);
 
 #endif /* STATUS_H */