summaryrefslogtreecommitdiff
path: root/wt-status.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-11-10 05:48:50 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-11-12 05:50:05 (GMT)
commit788454576f64dc2d830b0e6704175b05db34ce53 (patch)
treee4d0e292e32e9ef3c4617ae5d68aca0ed997bd22 /wt-status.h
parent5b02ca38a30298a963b3595f2cd884e11cf10c09 (diff)
downloadgit-788454576f64dc2d830b0e6704175b05db34ce53.zip
git-788454576f64dc2d830b0e6704175b05db34ce53.tar.gz
git-788454576f64dc2d830b0e6704175b05db34ce53.tar.bz2
wt-status.c: remove implicit dependency the_repository
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'wt-status.h')
-rw-r--r--wt-status.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/wt-status.h b/wt-status.h
index 8375e81..3a95975 100644
--- a/wt-status.h
+++ b/wt-status.h
@@ -134,7 +134,9 @@ void wt_status_prepare(struct repository *r, struct wt_status *s);
void wt_status_print(struct wt_status *s);
void wt_status_collect(struct wt_status *s);
void wt_status_collect_free_buffers(struct wt_status *s);
-void wt_status_get_state(struct wt_status_state *state, int get_detached_from);
+void wt_status_get_state(struct repository *repo,
+ struct wt_status_state *state,
+ int get_detached_from);
int wt_status_check_rebase(const struct worktree *wt,
struct wt_status_state *state);
int wt_status_check_bisect(const struct worktree *wt,