Re: [PATCH/RFD 3/6] rev-list: list all heads with --all

2016-02-26 Thread Duy Nguyen
On Fri, Feb 26, 2016 at 11:39 PM, Michael J Gruber wrote: > HEAD is a worktree specific sysmref, so that a repository with multiple > worktrees can have multiple HEADs, or HEADs in a worktree different from > the current worktree. > > So far, "rev-parse --all" adds only the HEAD from the current w

[PATCH/RFD 3/6] rev-list: list all heads with --all

2016-02-26 Thread Michael J Gruber
HEAD is a worktree specific sysmref, so that a repository with multiple worktrees can have multiple HEADs, or HEADs in a worktree different from the current worktree. So far, "rev-parse --all" adds only the HEAD from the current worktree to the list of refs (besides branches etc.). So, a detached