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

Re: How can I tell if anything was fetched?

From
Enrico Weigelt <enrico.weigelt@vnc.biz>
Date
Oct 11, 2012, 18:29 UTC
Message-ID
<369f3feb-20e5-444f-b718-15d7dc8f2c61@zcs>
In-Reply-To
<m28vbdkley.fsf@igel.home>
> I think you'd only need to record the state of all refs (eg. the
> output
> of `git for-each-ref') to reliably detect any changes.

I would just record the output of `git ls-remote . | sort -u` somewhere and compare it next time (maybe you even wanna grep for the desired ref namespaces).

cu
-- 
Mit freundlichen Grüßen / Kind regards 

Enrico Weigelt 
VNC - Virtual Network Consult GmbH 
Head Of Development 

Pariser Platz 4a, D-10117 Berlin
Tel.: +49 (30) 3464615-20
Fax: +49 (30) 3464615-59

enrico.weigelt@vnc.biz; www.vnc.de 
Previous: Andreas SchwabNext: Jeff King
Message 3 of 5 in “How can I tell if anything was fetched?”
  1. Phil LawrenceOct 11, 2012
  2. Andreas SchwabOct 11, 2012
  3. Enrico WeigeltOct 11, 2012
  4. Jeff KingOct 12, 2012
  5. Johannes SixtOct 12, 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.