diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-02-17 15:56:38 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-02-17 15:56:38 -0400 |
commit | 63fe34b5ad9d1c691cef9827673465f532f6d216 (patch) | |
tree | 517a4629723f8bc4446f89d3fa7bb1f4156df9c7 | |
parent | a6b07a44d010566d43e7834399d291948a3921ac (diff) |
devblog
-rw-r--r-- | doc/devblog/day_448__git_push_to_update_remote.mdwn | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/devblog/day_448__git_push_to_update_remote.mdwn b/doc/devblog/day_448__git_push_to_update_remote.mdwn new file mode 100644 index 000000000..edcccc2b7 --- /dev/null +++ b/doc/devblog/day_448__git_push_to_update_remote.mdwn @@ -0,0 +1,24 @@ +Today was all about writing +[[tips/making_a_remote_repo_update_when_changes_are_pushed_to_it]]. + +That's a fairly simple page, because I added workarounds for all the +complexity of making it work in direct mode repos, adjusted branches, and +repos on filesystems not supporting executable git hooks. Basically, +the user should be able to set the standard +receive.denyCurrentBranch=updateInstead configuration on a remote, and +then `git push` or `git annex sync` should update that remote's working tree. + +There are a couple of unhandled cases; `git push` to a remote on a +filesystem like FAT won't update it, and `git annex sync` will only update +it if it's local, not accessed over ssh. Also, the emulation of git's +updateInstead behavior is not perfect for direct mode repos and adjusted +branches. + +Still, it's good enough that most users should find it meets +their needs, I hope. How to set this kind of thing up is a fairly common +FAQ, and this makes it much simpler. + +(Oh yeah, the first ancient kernel arm build is *still* +running. May finish before tomorrow.) + +Today's work was sponsored by Jake Vosloo on Patreon. |