git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [RFC] Hidden refs

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 13, 2010, 17:51 UTC
Message-ID
<7vmxqim167.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20101013174647.GB13752@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 14 quoted lines
> On Wed, Oct 13, 2010 at 10:42:41AM -0700, Junio C Hamano wrote:
>
>> Jeff King <peff@peff.net> writes:
>> 
>> > Yeah, I believe "." at the front of a directory component is explicitly
>> > forbidden by check_ref_format. I don't recall whether there was a
>> > specific rationale, or whether it was simply a can of worms we didn't
>> > want to explore.
>> 
>> Is "log foo...bar" a symmetric difference between foo and bar, or is it an
>> assymmetric one from foo and .bar?
>
> Thanks, I was sure there was a simple example of how it would make
> things ambiguous, but for some reason I couldn't think of one.

Of course, it points at an existing bug as well. --- the example could mean an asymmetric difference from foo. to bar ;-)

Previous: Jeff KingNext: Jonathan Nieder
Message 7 of 8 in “[RFC] Hidden refs”
  1. Marc BranchaudOct 13, 2010
  2. Stephen BashOct 13, 2010
  3. Marc BranchaudOct 13, 2010
  4. Jeff KingOct 13, 2010
  5. Junio C HamanoOct 13, 2010
  6. Jeff KingOct 13, 2010
  7. Junio C HamanoOct 13, 2010
  8. Jonathan NiederOct 13, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.