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

Is there a library for monitoring a git repository for any changes?

From
RMRobert Martin <rdmartin3@gmail.com>
Date
Jun 7, 2013, 03:16 UTC
Message-ID
<CABaQ0JgJaCY-LXHjXMq_7NTgHf2GqN4Ond7rm61jfLAV-gEgRQ@mail.gmail.com>
Hi git,

I want to work on a visualization program for git. I was hoping there was a library that would allow me to monitor a git repo for changes. Consider it like inotify, but for a git repository (in fact, I think it would probably have inotify under the hood).

This hypothetical library would trigger an event any time the repository was modified, i.e. any time the graph that represents history was changed.

Is there such a library? If not, is there a better way to monitor the repository so that I wouldn't need to write it myself? Would anyone else be interested if I wrote it myself?

Cheers,
Robert
Next: Magnus Bäck
Message 1 of 2 in “Is there a library for monitoring a git repository for any changes?”
  1. Robert MartinJun 7, 2013
  2. Magnus BäckJun 7, 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.