threads / discuss / 8751

post-apply hook or something like that

Subject: post-apply hook or something like that

## tl;dr

One message between Jun 27, 2007 and Jun 27, 2007.

replies: 0people: 1as markdown or json

Nicolas Vilz· Jun 27, 2007, 18:17 UTC · lore
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

← back to recent threads