Hi
On Fri, Mar 14, 2008 at 12:18 AM, Martin Langhoff
[off-list ref] wrote:
> - unless ($last_branch) {
> + if (-f "$git_dir/$last_branch") {
Note that the file won't exist there in any modern git. It will be in
$git_dir/refs/heads/$last_branch. Did you test this patch?
git-symbolic-ref HEAD do return "refs/heads/master" on my initial
in-the-middle checkout (I still have a copy),
So it seems correct for now, but i'll change it to use rev-parse
instead as it seems more correct.
Regards
--
Marc-André Lureau