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

Re: GIT PULL] ext4 updates for 3.5

From
Ted Ts'o <tytso@mit.edu>
Date
Jun 1, 2012, 20:52 UTC
Message-ID
<20120601205209.GC19987@thunk.org>
In-Reply-To
<CA+55aFyqN2OJkSKVLERtMr-P6OKWEfjrS6eP8OtDyoZB0mmR3w@mail.gmail.com>
On Fri, Jun 01, 2012 at 01:43:35PM -0700, Linus Torvalds wrote:
Show 8 quoted lines
> On Fri, Jun 1, 2012 at 1:38 PM, Ted Ts'o <tytso@mit.edu> wrote:
> > One other thought.  One of the reasons why I used "dev" and not
> > "ext4_for_linus" in my git request-pull command line was because that
> > several months ago I had created a branch called ext4_for_linus, and I
> > hadn't gotten around to deleting it, so I figured I'd just use "dev"
> > instead, since it was non-ambiguous.
> 
> You can always just use "tags/xyzzy" to disambiguate..

Ah, I thought you always had to type the full "refs/tags/.." specification. I didn't realize it did substring matching. Besides, "dev" was much shorter and easier to type. :-)

One of the things which is easy for a novice to miss is the "warning: ext4_for_linus is ambiguous" message, though. And I suspect many novices don't know about the "git show-refs -a | grep ambiguous_tag" trick to figure out where the ambiguity is coming from. So if we are going to give a warning, it might be good if we actually told the user what were the other choices, and which choice git was going to choose. Most of the time it seems to choose the right thing, but trusting computer programs to choose the right answer from something ambiguous via some hueristic always scares the bejesus out of me....

    	 	   	  	     	     - Ted
Previous: Linus TorvaldsNext: Junio C Hamano
Message 7 of 8 in “Re: GIT PULL] ext4 updates for 3.5”
  1. Linus TorvaldsJun 1, 2012
  2. Junio C HamanoJun 1, 2012
  3. Junio C HamanoJun 1, 2012
  4. Linus TorvaldsJun 1, 2012
  5. Ted Ts'oJun 1, 2012
  6. Linus TorvaldsJun 1, 2012
  7. Ted Ts'oJun 1, 2012
  8. Junio C HamanoJun 1, 2012

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.