On 06/01/2016 12:45 PM, Nguyễn Thái Ngọc Duy wrote:
> [...]
> +void add_worktree_reflogs_to_pending(struct rev_info *revs, unsigned flags,
> +                                  struct worktree *wt)
> +{
> +     struct all_refs_cb cb;
> +     char *path;
> +
> +     cb.all_revs = revs;
> +     cb.all_flags = flags;
> +     path = xstrdup(worktree_git_path(wt, "logs/HEAD"));
> +     if (file_exists(path))
> +             handle_one_reflog(path, NULL, 0, &cb);
> +     free(path);
> +     path = xstrdup(worktree_git_path(wt, "logs/refs/bisect"));
> +     if (file_exists(path))
> +             handle_one_reflog(path, NULL, 0, &cb);
> +     free(path);
> +}

`refs/bisect` is not a single reference. It is a namespace that contains
references with names like `refs/bisect/bad` and
`refs/bisect/good-66106691a1b71e445fe5e4d6b8b043dffc7dfe4c`.

> [...]

Michael

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to