wt-status: export also the has_un{staged,committed}_changes() functions

They will be used in the upcoming rebase helper.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Johannes Schindelin
2016-10-07 18:08:56 +02:00
committed by Junio C Hamano
parent fd84986f46
commit 41a5dd6d86
2 changed files with 5 additions and 3 deletions

View 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;