Commit graph

1337 commits

Author SHA1 Message Date
Joey Hess
f9adb905fc
Avoid unncessary write to the location log when a file is unlocked and then added back with unchanged content.
Implemented with no additional overhead of compares etc.

This is safe to do for presence logs because of their locality of change;
a given repo's presence logs are only ever changed in that repo, or in a
repo that has just been actively changing the content of that repo.

So, we don't need to worry about a split-brain situation where there'd
be disagreement about the location of a key in a repo. And so, it's ok to
not update the timestamp when that's the only change that would be made
due to logging presence info.
2015-10-12 14:46:47 -04:00
Joey Hess
82ba8c9a6a
comment 2015-10-12 13:29:00 -04:00
tribut
53d3b5a197 2015-10-11 17:33:20 +00:00
Joey Hess
9bcc32de3b Merge branch 'master' of ssh://git-annex.branchable.com 2015-10-01 16:17:52 -04:00
Joey Hess
2fb3722ce9 Do verification of checksums of annex objects downloaded from remotes.
* When annex objects are received into git repositories, their checksums are
  verified then too.
* To get the old, faster, behavior of not verifying checksums, set
  annex.verify=false, or remote.<name>.annex-verify=false.
* setkey, rekey: These commands also now verify that the provided file
  matches the key, unless annex.verify=false.
* reinject: Already verified content; this can now be disabled by
  setting annex.verify=false.

recvkey and reinject already did verification, so removed now duplicate
code from them. fsck still does its own verification, which is ok since it
does not use getViaTmp, so verification doesn't happen twice when using fsck
--from.
2015-10-01 15:56:39 -04:00
dxld@02c834b220f9ffc0410d37263aa29d9373cc455b
9825b4cb15 Added a comment: Fully p2p alternative to XMPP 2015-10-01 17:22:44 +00:00
Joey Hess
0c3a3c5187 comment 2015-10-01 11:57:59 -04:00
Joey Hess
4aa055cb39 Merge branch 'master' of ssh://git-annex.branchable.com 2015-09-29 11:20:00 -04:00
kalle@bdf75651b439b088e51f28f10f5a46ffcd2a704d
2ed24b88ae Added a comment: importfeed template 2015-09-28 19:52:16 +00:00
graboluk@f6de53961ab0f884e203f602f65eb5cdc0fb7513
31597d6676 Added a comment: timestamps are wrong as of 5.20150731 2015-09-26 18:31:46 +00:00
Joey Hess
209b8bbfbb Merge branch 'master' of ssh://git-annex.branchable.com 2015-09-26 08:57:53 -04:00
Joey Hess
7f102cf43d add 2015-09-26 07:23:08 -04:00
fastguy
8156862566 Added a comment: Any updates? 2015-09-25 19:35:18 +00:00
Joey Hess
f2b6ebd502 status: Show added but not yet committed files.
Seems easy, but git ls-files can't list the right subset of files.
So, I wrote a whole new parser for git status output, and converted the
status command to use that.

There are a few other small behavior changes. The order changed. Unlocked
files show as T. In indirect mode, deleted files were not shown before, and
that's fixed. Regular files checked directly into git and modified
were not shown before, and are now.
2015-09-22 17:32:28 -04:00
Joey Hess
6885fe3c38 close, already implemented via a different todo 2015-09-22 15:46:42 -04:00
Joey Hess
c9acb6b89d new todo 2015-09-22 15:31:08 -04:00
Joey Hess
9fa60b676c close 2015-09-22 15:23:23 -04:00
Joey Hess
89238e9595 juggle dup bugs 2015-09-17 17:08:39 -04:00
Joey Hess
9cfb96c53d Special remotes configured with autoenable=true will be automatically enabled when git-annex init is run. 2015-09-14 14:49:48 -04:00
Joey Hess
ffa8221517 annex.hardlink extended to also try to use hard links when copying from the repository to a remote.
Also, it used to only check that one of the repos was not in direct mode;
now when either repo is direct mode, annex.hardlink won't have an effect.
2015-09-14 12:13:38 -04:00
https://id.koumbit.net/anarcat
8e30053d5b toc 2015-09-12 22:18:40 +00:00
Joey Hess
eab8c512d8 cleanup 2015-09-11 13:21:58 -04:00
Joey Hess
29187648e1 comment 2015-09-09 14:45:57 -04:00
Joey Hess
97fb358437 new todo 2015-09-09 14:44:43 -04:00
Joey Hess
c60181bd82 unused: Fix reversion in 5.20150727 that broke parsing of the --unused-refspec option. Thanks, Øyvind A. Holm. 2015-09-09 14:33:35 -04:00
sunny256
762ff6d584 Add patch to change --unused-refspec back to --used-refspec 2015-09-08 12:47:40 +00:00
lealanko
499719d660 2015-09-06 14:00:39 +00:00
lealanko
8733bd603d Added a comment 2015-09-06 13:26:49 +00:00
Joey Hess
b5c0fb1c48 possible optimisation idea 2015-09-03 13:52:43 -07:00
http://joeyh.name/
cb5756bfc5 Added a comment 2015-08-25 18:25:44 +00:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
a768ee7128 2015-08-25 18:08:50 +00:00
vincent.mcintyre@1318ebde5cb96fc17e59dfa86f399f5634b1facc
fc7bfc27e1 2015-08-24 13:11:24 +00:00
anarcat
1f359ab899 Added a comment: great! 2015-08-17 04:07:28 +00:00
Joey Hess
87b4229b23 sync: Support --jobs
* sync: Support --jobs
* sync --content: Avoid unnecessary second pull from remotes when
  no file transfers are made.
2015-08-14 13:49:55 -04:00
jonathan.stott+gitannex@7c5a9cff8c7c8f69680d0723dda182fa3ba78d43
d4bda84386 2015-08-14 13:40:45 +00:00
Joey Hess
4ab4417292 move item to todo list from bugs and followup 2015-08-13 16:43:58 -04:00
Joey Hess
00fd5b67bf more measuring 2015-08-13 16:15:22 -04:00
Joey Hess
983a95f021 Sped up downloads of files from ssh remotes, reducing the non-data-transfer overhead 6x. 2015-08-13 14:20:28 -04:00
Joey Hess
7584e47ba3 --debug log messages are now timestamped with fractional seconds. 2015-08-12 14:42:49 -04:00
Joey Hess
756551cfcc amazonka 2015-08-11 14:14:53 -04:00
Joey Hess
8ee295e446 comment 2015-08-11 13:52:54 -04:00
Joey Hess
21dc3ab49e response 2015-08-11 13:36:22 -04:00
tomekwi
d4ce800219 Added a comment: Linux-Windows repo 2015-08-10 18:22:22 +00:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
7434cc0d72 Added a comment 2015-08-09 03:04:31 +00:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
3cb9c0dd93 2015-08-09 02:51:41 +00:00
https://id.koumbit.net/anarcat
63aec0eba0 no haskell? 2015-08-06 21:14:47 +00:00
Joey Hess
6ded6fd19a promote comment to todo 2015-08-06 13:33:25 -04:00
Joey Hess
49947be595 done 2015-08-05 14:11:55 -04:00
Joey Hess
de9a35f64d Merge branch 'master' of ssh://git-annex.branchable.com 2015-08-05 09:45:26 -04:00
Joey Hess
a6fbf20671 longterm goal 2015-08-04 22:49:39 -04:00