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

post-apply hook or something like that

From
Nicolas Vilz <niv@iaglans.de>
Date
Jun 27, 2007, 18:17 UTC
Message-ID
<20070627181726.GH17855@hermes.lan.home.vilz.de>
Hello fellow gits,

I try to insert metastore into my workflow and i wonder if i could get the following scenario working:

(1) cd /etc/ && git-init-db # start gittify etc-directory (2) git commit -a # fire up first commit (3) metastore -s # save current state of permissions and ownerships (4) git commit -a # commit the changes (5) chown nobody bash/<somefile> # change ownership (6) git commit -a # with the pre-commit shipped with metastore this is tracked (7) git reset --hard HEAD^1 # go back one step (8) git reset --hard <former-sha1-sum> # go forward again (9) metastore -a # apply the changes from last commit

what i was wondering, is it possible, to get a metastore -a automatically after checking out something?

Greetings Nicolas

Message 1 of 1 in “post-apply hook or something like that”
  1. Nicolas VilzJun 27, 2007

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.