change for git-annex, copied from somewhere...