On Mon, Sep 07, 2009 at 04:21:36PM -0400, Joey Hess wrote:
> For the post-checkout hook, it would need to avoid doing anything if
> git-checkout had been used to checkout a file, rather than a branch.

> The problem with doing it post-merge is that it would wipe out any
> uncommitted metadata changes that are in the tree from before the merge.
> 

Maybe the hooks should just execute .etckeeper to restore permissions instead of
the whole 'etckeeper init' procedure.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to