This commit is contained in:
Joey Hess 2017-06-01 13:20:13 -04:00
parent 02df5c5932
commit ca0736cc91
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -0,0 +1,13 @@
[[!comment format=mdwn
username="joey"
subject="""comment 4"""
date="2017-06-01T17:14:28Z"
content="""
Well, a git `update` hook is the only way to utterly prevent non-ff's being
pushed.
Since you're checking out the repository fresh each time, your scripts
could use `git annex sync --no-pull`. That would fail if someone else
pushed work to the repo in the meantime, and you could then use whatever
git commands make sense for you to fetch and rebase on top of the new changes.
"""]]