diff options
author | Kristian Høgsberg <krh@redhat.com> | 2007-09-18 02:06:43 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-09-19 21:52:19 +0200 |
commit | 0f729f21348c43a1c80f48faed2e753b1c923e85 (patch) | |
tree | 54bd68cc0cd04e96a013f94fd18b50dd9dd26703 /wt-status.h | |
parent | Enable wt-status output to a given FILE pointer. (diff) | |
download | git-0f729f21348c43a1c80f48faed2e753b1c923e85.tar.xz git-0f729f21348c43a1c80f48faed2e753b1c923e85.zip |
Enable wt-status to run against non-standard index file.
We still default to get_index_file(), but this can be overridden
by setting wt_status.index_file after calling wt_status_prepare().
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'wt-status.h')
-rw-r--r-- | wt-status.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wt-status.h b/wt-status.h index 4f3a615c32..77449326db 100644 --- a/wt-status.h +++ b/wt-status.h @@ -21,6 +21,7 @@ struct wt_status { int commitable; int workdir_dirty; int workdir_untracked; + const char *index_file; FILE *fp; }; |