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

Re: Feature idea : notes to track status of a commit, which remotes it is shared to

From
Thomas Rast <trast@student.ethz.ch>
Date
Feb 19, 2013, 10:13 UTC
Message-ID
<87bobgtxvk.fsf@pctrast.inf.ethz.ch>
In-Reply-To
<51234801.5050208@mildred.fr>
Mildred Ki'Lya <mildred-ml@mildred.fr> writes:
Show 14 quoted lines
> The idea is to basically track automatically (in notes, either in the
> notes namespace or in another namespace) which repository/remote
> contains a commit. When doing git log, we'd see lines with each
> commit, something like:
>
> commit b044e6d0f1a1782820b052348ab0db314e2db3ca
> Author: Myself <myself@localhost.localdomain>
> Date:   Tue Nov 20 16:46:38 2012 +0100
>
>     This is the commit description
>
> Published on:
>     origin
>     git@git.host.com:pub/repo.git

The problem here is that doing this in notes is unreliable: you'd have to identify all places where the set of "publishes" can change for any commit, and update them there.

It's much easier, if a bit slower, to just run
  git branch -r --contains $commit
-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: Mildred Ki'LyaNext: Junio C Hamano
Message 2 of 5 in “Feature idea : notes to track status of a commit, which remotes it is shared to”
  1. Mildred Ki'LyaFeb 19, 2013
  2. Thomas RastFeb 19, 2013
  3. Junio C HamanoFeb 19, 2013
  4. W. Trevor KingFeb 19, 2013
  5. W. Trevor KingFeb 19, 2013

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.