summaryrefslogtreecommitdiff
path: root/doc/design/assistant/blog/day_96__revisiting_file_adds.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-10-02 18:16:58 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-10-02 18:16:58 -0400
commit4be9d18835dd0980748f875acb2df3b8a285551f (patch)
tree8064594ee55d2475209f8515e905416a085f15ef /doc/design/assistant/blog/day_96__revisiting_file_adds.mdwn
parent9a0635b05ddfccb4fd6831f3294af83030992ad5 (diff)
blog for the day
Diffstat (limited to 'doc/design/assistant/blog/day_96__revisiting_file_adds.mdwn')
-rw-r--r--doc/design/assistant/blog/day_96__revisiting_file_adds.mdwn24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/design/assistant/blog/day_96__revisiting_file_adds.mdwn b/doc/design/assistant/blog/day_96__revisiting_file_adds.mdwn
new file mode 100644
index 000000000..a9607bb80
--- /dev/null
+++ b/doc/design/assistant/blog/day_96__revisiting_file_adds.mdwn
@@ -0,0 +1,24 @@
+Today I revisited something from way back in [[day_7__bugfixes]].
+Back then, it wasn't practical to run `git ls-files` on every
+file the watcher noticed, to check if it was already in git. Revisiting
+this, I found I could efficiently do that check at the same point it checks
+`lsof`. When there's a lot of files being added, they're batched up at that
+point, so it won't be calling `git ls-files` repeatedly.
+
+Result: It's safe to mix use of the assistant with files stored in git
+in the normal way. And it's safe to mix use of `git annex unlock` with
+the assistant; it won't immediately re-lock files. Yay!
+
+----
+
+Also fixed a crash in the committer, and made `git annex status` display
+repository groups.
+
+----
+
+Been thinking through where to store the [[transfer_control]] expressions.
+Since repositories need to know about the transfer controls of other
+remotes, storing them in `.git/config` isn't right. I thought it might be
+nice to configure the expressions in `.gitattributes`, but it seems the
+file format doesn't allow complicated multi-word attributes. Instead,
+they'll be stored in the git-annex branch.