Thread (6 messages) flat view 6 messages, 2 authors, 2016-06-15

Re: [PATCH] git-cvsimport: fix initial checkout

From: Marc-André Lureau <hidden>
Date: 2016-06-15 22:44:23

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help