File: comment_4_cd3c8e2f45db93576d1b82cfbfbe601b._comment

package info (click to toggle)
git-annex 8.20210223-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 68,764 kB
  • sloc: haskell: 70,359; javascript: 9,103; sh: 1,304; makefile: 212; perl: 136; ansic: 44
file content (12 lines) | stat: -rw-r--r-- 828 bytes parent folder | download | duplicates (8)
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] ?
"""]]