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

Re: [RFC/PATCHv8 00/10] git notes

From: Johannes Sixt <hidden>
Date: 2016-06-15 22:48:04

Possibly related (same subject, not in this thread)

Junio C Hamano schrieb:
Junio C Hamano [off-list ref] writes:
quoted
Alex Riesen [off-list ref] writes:
quoted
This breaks "checkout to merge base" on Windows and t2012 in particular.
I think the attached patch would help.  If this fix is Ok with Windows
people (J6t CC'ed), I'd like to apply this to 'master' so that we can ship
1.7.0-rc0 without breakage.

-- >8 --
Subject: Fix "checkout A..." synonym for "checkout A...HEAD" on Windows
...
Work this issue around by first calling check_ref_format(new.path) to see
if the string can possibly be a valid ref under "refs/heads/", before
asking resolve_ref().
Your patch fixes the failure very nicely, thank you very much.

BTW, calling 'git pack-refs --all' before 'git checkout master...'
helps as well :-P

-- Hannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help