]> git.ipfire.org Git - thirdparty/git.git/commit
worktree.c: kill parse_ref() in favor of refs_resolve_ref_unsafe()
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Mon, 24 Apr 2017 10:01:23 +0000 (17:01 +0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 25 Apr 2017 04:28:55 +0000 (21:28 -0700)
commitfa099d23227f88b5a1cd79c646551130d9b36e6d
treef5308d3f4b446b027099b9720070023f5f2fa89a
parent17eff96b83be5c4c25e33a40e632d1b55c506d33
worktree.c: kill parse_ref() in favor of refs_resolve_ref_unsafe()

The manual parsing code is replaced with a call to refs_resolve_ref_unsafe().
The manual parsing code must die because only refs/files-backend.c
should do that.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
branch.c
t/helper/test-ref-store.c
t/t1407-worktree-ref-store.sh [new file with mode: 0755]
worktree.c
worktree.h