summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar interfect@b151490178830f44348aa57b77ad58c7d18e8fe7 <interfect@web>2016-09-21 19:20:05 +0000
committerGravatar admin <admin@branchable.com>2016-09-21 19:20:05 +0000
commitfd7da07a2d8de470067df75a6a1f96692cd25e19 (patch)
treee3dd8d4a88ec2765f40971a1eed81d3d23dcff8a
parentc02762882f52c632df00c92b35dac2cb4dfd85db (diff)
Added a comment: Pre Commit Hook
-rw-r--r--doc/todo/Allow_globally_limiting_filename_length/comment_2_cdb91ea855d9bcdeccf19ccb6d55ed10._comment14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/todo/Allow_globally_limiting_filename_length/comment_2_cdb91ea855d9bcdeccf19ccb6d55ed10._comment b/doc/todo/Allow_globally_limiting_filename_length/comment_2_cdb91ea855d9bcdeccf19ccb6d55ed10._comment
new file mode 100644
index 000000000..dc36053d0
--- /dev/null
+++ b/doc/todo/Allow_globally_limiting_filename_length/comment_2_cdb91ea855d9bcdeccf19ccb6d55ed10._comment
@@ -0,0 +1,14 @@
+[[!comment format=mdwn
+ username="interfect@b151490178830f44348aa57b77ad58c7d18e8fe7"
+ nickname="interfect"
+ subject="Pre Commit Hook"
+ date="2016-09-21T19:20:04Z"
+ content="""
+I'm basically stuck with whatever home directory encryption Canonical deigns to give me in their setup wizard, given my time and attention budget. I've looked a bit at the security problems with it and they mostly seem to be that it's a bit leaky due to not hiding structures and sizes. Hiding contents is better than not hiding contents, so that's what I've got.
+
+Anyway, a pre-commit hook, or maybe an update hook, would be a great solution. I'd like one to be on the wiki somewhere as a useful tip for actually using git annex effectively across a bunch of non-ideal environments. It would be great if a \"git annex init\" could set it up for me, too.
+
+Any ideas for writing a pre-commit script that works on Linux, Mac, Windows, Android, and whatever weird embedded NAS things people might want to use it on? If I went with an update script over a pre-commit, that would make platform support less of a problem, but then you'd get Git Annex into weird situations when syncing.
+
+How would Git Annex react if I made a commit on one system, but then my central syncing repo's update script rejected the commit for breaking the rules on file names? If I have a commit that isn't allowed to be pushed to a particular remote, how would I use git annex to get it out of the history of any repos it might have already gotten to?
+"""]]