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

Re: [PATCH v2 3/8] branch: roll show_detached HEAD into regular ref_list

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Aug 19, 2015, 15:18 UTC
Message-ID
<vpqpp2j2toq.fsf@anie.imag.fr>
In-Reply-To
<1439925345-9969-4-git-send-email-Karthik.188@gmail.com>
Karthik Nayak <karthik.188@gmail.com> writes:
Show 5 quoted lines
> +	/*
> +	 * First we obtain all regular branch refs and if the HEAD is
> +	 * detached then we insert that ref to the end of the ref_fist
> +	 * so that it can be printed first.
> +	 */
Nit: the end of the sentence reads funny (why put at the end "so that it
can be printed first.").
Perhaps "... so that it can be printed and removed first.".
-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Karthik NayakNext: Karthik Nayak
Message 5 of 13 in “port brnach.c to use ref-filter APIs”
  1. 0/8 port brnach.c to use ref-filter APIsKarthik Nayak, Aug 18, 2015
  2. 1/8 branch: refactor width computationKarthik Nayak, Aug 18, 2015
  3. 2/8 branch: bump get_head_description() to the topKarthik Nayak, Aug 18, 2015
  4. 3/8 branch: roll show_detached HEAD into regular ref_listKarthik Nayak, Aug 18, 2015
  5. Matthieu MoyAug 19, 2015
  6. Karthik NayakAug 19, 2015
  7. 4/8 branch: move 'current' check down to the presentation layerKarthik Nayak, Aug 18, 2015
  8. 5/8 branch: drop non-commit error reportingKarthik Nayak, Aug 18, 2015
  9. Matthieu MoyAug 19, 2015
  10. Karthik NayakAug 19, 2015
  11. 6/8 branch.c: use 'ref-filter' data structuresKarthik Nayak, Aug 18, 2015
  12. 7/8 branch.c: use 'ref-filter' APIsKarthik Nayak, Aug 18, 2015
  13. 8/8 branch: add '--points-at' optionKarthik Nayak, Aug 18, 2015

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.