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

Re: help: bisect single file from repos

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 8, 2009, 18:35 UTC
Message-ID
<7vein5e2lc.fsf@alter.siamese.dyndns.org>
In-Reply-To
<4B1E5796.2090201@bfs.de>
walter harms <wharms@bfs.de> writes:
Show 10 quoted lines
> Christian Couder schrieb:
> ...
> i am sorry, i am not familiar with git and when i am stating i am looking
> for examples first. the examples in my man page are like
> git bisect start v2.6.20-rc6 v2.6.20-rc4
> there is nothing like:
> git bisect start 6a87a68a6a8 65a76a8a68a7
>
> I ASSUME that you can use tags like "v2.6.20-rc6" and commit-id like "6a87a68a6a8"
> interchangeable but that was not clear from beginning.

The misconception here is "naming commit is done completely differently from naming branches and tags", which is false in the git land, but it may hold true in some other systems (e.g. Subversion, which made them into different dimensions by making branches and tags into a location in a larger whole tree namespace when their commits are named by serial version number of that whole tree namespace).

We can call this a misconception, tell users to learn how things work before using git (sometimes unlearning CVS and Subversion helps for this exact reason), dismiss the issue and move on. But I wonder if there is something we _could_ have done better in the documentation area to avoid this from the beginning, iow, make it easier to "learn how things work before using"? I think there is a lesson to be learned by us in here, and I'd like to hear comments and improvement suggestions, especially from "usability" and "friendly to new people" advocates.

Previous: walter harmsNext: SZEDER Gábor
Message 6 of 10 in “help: bisect single file from repos”
  1. walter harmsDec 7, 2009
  2. Michael J GruberDec 7, 2009
  3. walter harmsDec 7, 2009
  4. Christian CouderDec 8, 2009
  5. walter harmsDec 8, 2009
  6. Junio C HamanoDec 8, 2009
  7. SZEDER GáborDec 9, 2009
  8. Nanako ShiraishiDec 9, 2009
  9. SZEDER GáborDec 9, 2009
  10. walter harmsDec 9, 2009

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.