aboutsummaryrefslogtreecommitdiff
path: root/doc/tips/automatically_adding_metadata/comment_4_cd3c8e2f45db93576d1b82cfbfbe601b._comment
blob: f6b2773eb29a00211514e388cd75d29dc03f0d9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[[!comment format=mdwn
 username="https://www.google.com/accounts/o8/id?id=AItOawnW_CrhP9p50n9UUhTg_a9glyKWSvnrjRQ"
 nickname="Michele"
 subject="direct mode pre-commit hooks [on windows]"
 date="2015-01-20T12:43:24Z"
 content="""
seemingly pre-commit hooks are not being called on windows, it could have to do with git annex sync bypassing them when doing commits ?

on the other side genmetadata works. although that is not enough for me since I'd want to preserve complete last modification date/time and I was in the process of modifying the supplied pre-commit script to call for \"stat %Y\" (which btw is working fine on windows, while the last binaries for extract are failing there).

am I correct in assuming that direct mode [on windows at least] bypasses hooks [namely pre-commit as well as pre-commit-annex] ?
"""]]