diff options
author | https://www.google.com/accounts/o8/id?id=AItOawnW_CrhP9p50n9UUhTg_a9glyKWSvnrjRQ <Michele@web> | 2015-01-30 11:48:25 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2015-01-30 11:48:25 +0000 |
commit | e2020c50deab625b6e07b271ce7b35575b74c438 (patch) | |
tree | cc69d2774b111ae8c54d6b36ce81a89e15bfd78c | |
parent | e03239f8c4f511fd4fc995b29d052272ac1c8cc8 (diff) |
Added a comment: pre-commit is OK on windows now - auto adding last mod datetime
-rw-r--r-- | doc/tips/automatically_adding_metadata/comment_7_94877b21bf80374c2874b971f26f0e55._comment | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/tips/automatically_adding_metadata/comment_7_94877b21bf80374c2874b971f26f0e55._comment b/doc/tips/automatically_adding_metadata/comment_7_94877b21bf80374c2874b971f26f0e55._comment new file mode 100644 index 000000000..74bd60224 --- /dev/null +++ b/doc/tips/automatically_adding_metadata/comment_7_94877b21bf80374c2874b971f26f0e55._comment @@ -0,0 +1,16 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawnW_CrhP9p50n9UUhTg_a9glyKWSvnrjRQ" + nickname="Michele" + subject="pre-commit is OK on windows now - auto adding last mod datetime" + date="2015-01-30T11:48:24Z" + content=""" +@Joey just tested a nightly build and now pre-commit-annex is called, and with my modifications it autoadds last modified times for content. +Trivially it's just the matter of adding: + + field=\"datemod\" + value=$(stat -c %Y $f) + addmeta \"$f\" \"$field\" \"$value\" + +to the body of the process() function to the supplied pre-commit-annex script. +thanks +"""]] |