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
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
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
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
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
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
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
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
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
9 matches
Mail list logo