From 66f1d7dc5b63d1f017e557eb354407f1d8454207 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U" Date: Tue, 22 Mar 2011 21:25:29 +0000 Subject: [PATCH] --- doc/bugs/softlink_atime.mdwn | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/bugs/softlink_atime.mdwn b/doc/bugs/softlink_atime.mdwn index 0d26d1ce6a..c48d3a4de4 100644 --- a/doc/bugs/softlink_atime.mdwn +++ b/doc/bugs/softlink_atime.mdwn @@ -37,3 +37,13 @@ Optionally, editing the meta-data should change the times in all annexes. git add .metadata >>>>>> Thanks a lot. Doing this in a new git-annex repo from the start should at least ensure local consistency and I assume I can simply add a post-pull hook to restore the mtimes on all all other repositories? -- RichiH + +>>>>>>> This is even better: + + #!/bin/sh + git annex pre-commit . + which metastore || echo "$0: metastore is not installed; exiting" ; exit 99 + metastore --save + git add .metadata + +>>>>>>> -- RichiH