Re: [PATCH RFC 0/2] Kill manual ref parsing code in worktree.c

2017-02-08 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > A hundred years ago I added this code because a "standalone" ref > parsing code was not available from refs.c and the file was going through > some heavy changes that refactoring its ref parsing code out was not > an option. I promised to kill this parse_ref() even

[PATCH RFC 0/2] Kill manual ref parsing code in worktree.c

2017-02-08 Thread Nguyễn Thái Ngọc Duy
A hundred years ago I added this code because a "standalone" ref parsing code was not available from refs.c and the file was going through some heavy changes that refactoring its ref parsing code out was not an option. I promised to kill this parse_ref() eventually. I'm fulfilling it today (or soon