Git development
 help / color / mirror / Atom feed
From: Nicolas Vilz <niv@iaglans.de>
To: git@vger.kernel.org
Subject: post-apply hook or something like that
Date: Wed, 27 Jun 2007 20:17:26 +0200	[thread overview]
Message-ID: <20070627181726.GH17855@hermes.lan.home.vilz.de> (raw)

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

                 reply	other threads:[~2007-06-27 18:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070627181726.GH17855@hermes.lan.home.vilz.de \
    --to=niv@iaglans.de \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox