wt-status: export also the has_un{staged,committed}_changes() functions
[gitweb.git] / wt-status.c
index 4f9b5130df91b34707efaa2c3d61392332a82d51..6ad8fb65f94ee04153c53d663239fdde54fc141e 100644 (file)
@@ -2214,7 +2214,7 @@ void wt_status_print(struct wt_status *s)
 /**
  * Returns 1 if there are unstaged changes, 0 otherwise.
  */
-static int has_unstaged_changes(void)
+int has_unstaged_changes(void)
 {
        struct rev_info rev_info;
        int result;
@@ -2230,7 +2230,7 @@ static int has_unstaged_changes(void)
 /**
  * Returns 1 if there are uncommitted changes, 0 otherwise.
  */
-static int has_uncommitted_changes(void)
+int has_uncommitted_changes(void)
 {
        struct rev_info rev_info;
        int result;