Thread (1 message) 1 message, 1 author, 2016-06-15

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

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:48:04

Johannes Sixt [off-list ref] writes:
quoted
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
Thanks for a prompt response (given our timezone difference ;-)

I've been thinking about moving that check even further down, namely at
the beginning of resolve_ref(), as anything that is not valid cannot
possibly resolve correctly.

What do people think?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help