diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-11-10 06:48:50 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-11-12 14:50:05 +0900 |
commit | 788454576f64dc2d830b0e6704175b05db34ce53 (patch) | |
tree | e4d0e292e32e9ef3c4617ae5d68aca0ed997bd22 /wt-status.h | |
parent | 5b02ca38a30298a963b3595f2cd884e11cf10c09 (diff) | |
download | git-788454576f64dc2d830b0e6704175b05db34ce53.tar.gz |
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.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/wt-status.h b/wt-status.h index 8375e816fb..3a95975032 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, |