Re: git rev-list --all --reflog does not include worktree references

2015-10-06 Thread Michael J Gruber
Andreas Schwab venit, vidit, dixit 05.10.2015 21:08: > When running git rev-list --all --reflog in the main worktree it doesn't > include commits only referenced by the worktrees, neither HEAD nor its > reflog. HEAD is per worktree, so other worktrees' HEADs should not be included in "--all", I wo

git rev-list --all --reflog does not include worktree references

2015-10-05 Thread Andreas Schwab
When running git rev-list --all --reflog in the main worktree it doesn't include commits only referenced by the worktrees, neither HEAD nor its reflog. $ git init test $ cd test # add some commits $ touch 1; git add 1; git commit -m 1 $ touch 2; git add 2; git commit -m 2 # add new worktree $ git