blame: add a fingerprint heuristic to match ignored lines
[gitweb.git] / ref-filter.c
index 75281c73f21c78d118d3816286280751b89f57e0..61d75d5c86c644225a6a9549ca54d64a117d0c61 100644 (file)
@@ -1417,7 +1417,7 @@ char *get_head_description(void)
        struct strbuf desc = STRBUF_INIT;
        struct wt_status_state state;
        memset(&state, 0, sizeof(state));
-       wt_status_get_state(&state, 1);
+       wt_status_get_state(the_repository, &state, 1);
        if (state.rebase_in_progress ||
            state.rebase_interactive_in_progress) {
                if (state.branch)