Re: dangling commits in worktree

2016-11-23 Thread Luc Van Oostenryck
On Wed, Nov 23, 2016 at 04:45:56PM +0700, Duy Nguyen wrote: > > It's a known issue that gc (and maybe some others that do rev-list > --all, like fsck) "forgets" about some worktree's refs and you will > see what you see. Good. I just wanted to be sure it was a known problem. Thanks for the info.

Re: dangling commits in worktree

2016-11-23 Thread Duy Nguyen
On Wed, Nov 23, 2016 at 7:52 AM, Van Oostenryck Luc wrote: > Hi, > > More or less by error I used the fsck command in a worktree and I had > the surprised to see that it reported a lot of dangling commits while it was > not supposed to have one. > I quickly realized that it was the case only in th

dangling commits in worktree

2016-11-22 Thread Van Oostenryck Luc
Hi, More or less by error I used the fsck command in a worktree and I had the surprised to see that it reported a lot of dangling commits while it was not supposed to have one. I quickly realized that it was the case only in the worktree, in the main dir things were OK. While experimenting a bit I