Added a comment

This commit is contained in:
aurtzy 2024-04-25 17:35:49 +00:00 committed by admin
parent 9c78ab198e
commit 6cc89d71d3

View file

@ -0,0 +1,10 @@
[[!comment format=mdwn
username="aurtzy"
avatar="http://cdn.libravatar.org/avatar/7d44f9b718a534ada04551ee8c72e07f"
subject="comment 1"
date="2024-04-25T17:35:49Z"
content="""
`git config annex.uuid` seems reliable enough to me - the uuid is stored in `.git/config` and doesn't exist if it's not annex-inited (assuming no malicious behavior).
If you're looking for the very cheapest, perhaps something like a file-exists check on `.git/annex` would work? I don't know if there are any edge cases with this one, though.
"""]]