From: Nguyễn Thái Ngọc Duy Date: Fri, 22 Apr 2016 13:01:27 +0000 (+0700) Subject: worktree.c: make find_shared_symref() return struct worktree * X-Git-Tag: v2.9.0-rc0~12^2~9 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/d3b9ac07eb44974bb619d71fc6c81c9f2036b96c?ds=inline;hp=d3b9ac07eb44974bb619d71fc6c81c9f2036b96c worktree.c: make find_shared_symref() return struct worktree * This gives the caller more information and they can answer things like, "is it the main worktree" or "is it the current worktree". The latter question is needed for the "checkout a rebase branch" case later. Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano ---