Re: git gc fails with "unable to resolve reference" for worktree

2019-02-20 Thread hi-angel
I see, thanks! On Пн, Feb 18, 2019 at 6:18 PM, Duy Nguyen wrote: On Mon, Feb 18, 2019 at 10:09 PM wrote: On Пн, Feb 18, 2019 at 6:02 PM, Duy Nguyen wrote: > On Mon, Feb 18, 2019 at 9:44 PM wrote: >> >> # Steps to reproduce (in terms of terminal commands) >> >> $ mkdir foo

Re: git gc fails with "unable to resolve reference" for worktree

2019-02-18 Thread hi-angel
On Пн, Feb 18, 2019 at 6:02 PM, Duy Nguyen wrote: On Mon, Feb 18, 2019 at 9:44 PM wrote: # Steps to reproduce (in terms of terminal commands) $ mkdir foo $ cd foo $ git init Initialized empty Git repository in /tmp/foo/.git/ $ echo hello > testfile $ git add

git gc fails with "unable to resolve reference" for worktree

2019-02-18 Thread hi-angel
# Steps to reproduce (in terms of terminal commands) $ mkdir foo $ cd foo $ git init Initialized empty Git repository in /tmp/foo/.git/ $ echo hello > testfile $ git add testfile && git commit -m "my commit1" [master (root-commit) d5f0b47] my commit1 1 file changed, 1 inse