Bug#747065: Does not call post-checkout hook

2014-05-28 Thread martin f krafft
also sprach Joey Hess [2014-05-28 23:01 +0200]: > Well, this seems to have been reduced to a git bug then, since the > same could be said about git users. Agreed, except it's kinda obvious that git-checkout calls post-checkout and git-merge calls post-merge, while it's not really clear that in or

Bug#747065: Does not call post-checkout hook

2014-05-28 Thread Joey Hess
martin f krafft wrote: > Of course, but at least views seem to use checkout and somehow > I think it would be better to not expect git-annex users to have to > install two hooks or to understand why that would be necessary. > > So I mainly wonder whether there's a singular hook interface for > eve

Bug#747065: Does not call post-checkout hook

2014-05-28 Thread martin f krafft
also sprach Joey Hess [2014-05-28 22:08 +0200]: > Can't the post-merge hook be used? Of course, but at least views seem to use checkout and somehow I think it would be better to not expect git-annex users to have to install two hooks or to understand why that would be necessary. So I mainly wond

Bug#747065: Does not call post-checkout hook

2014-05-28 Thread Joey Hess
martin f krafft wrote: > Indeed, I thought it was using plumbing to mock a checkout. But > you're right, git-merge does not call post-checkout either. The > question now is: should git-annex call a single hook to allow > touching up permissions in the worktree (one example)? If so, > I think it mig

Bug#747065: Does not call post-checkout hook

2014-05-28 Thread martin f krafft
also sprach Joey Hess [2014-05-28 14:29 +0200]: > Well, this does a git fetch followed by a git merge. If that doesn't run > git-checkout, then I suppose git doesn't intend that hook to be run > during a pull either, so git-annex is behaving the same as git. Indeed, I thought it was using plumbin

Bug#747065: Does not call post-checkout hook

2014-05-28 Thread Joey Hess
martin f krafft wrote: > No, I am talking about the default symlink method. And it really > does not seem to be using git-checkout: > pull origin > ok Well, this does a git fetch followed by a git merge. If that doesn't run git-checkout, then I suppose git doesn't intend that hook to be run d

Bug#747065: Does not call post-checkout hook

2014-05-28 Thread martin f krafft
also sprach Joey Hess [2014-05-27 20:51 +0200]: > I assume you're talking about after git-annex sync in direct mode? > (Indirect mode just uses git checkout.) No, I am talking about the default symlink method. And it really does not seem to be using git-checkout: % GIT_DIR=bare.git git --bare

Bug#747065: Does not call post-checkout hook

2014-05-27 Thread Joey Hess
martin f krafft wrote: > git-annex does a whole lot of magic using plumbing commands to > provide checkout-like behaviour, but it does not call the > post-checkout hook. I assume you're talking about after git-annex sync in direct mode? (Indirect mode just uses git checkout.) -- see shy jo sig

Bug#747065: Does not call post-checkout hook

2014-05-05 Thread martin f krafft
Package: git-annex Version: 5.20140421 Severity: wishlist git-annex does a whole lot of magic using plumbing commands to provide checkout-like behaviour, but it does not call the post-checkout hook. This hook is required at the moment to fix up permissions/ACLs that are garbled in a multi-user set