Joey Hess
f5e65d680b
add back inAnnex check for drop here
...
Needed again after last commit removed it from startLocal again.
2020-07-25 18:17:33 -04:00
Joey Hess
cb0b0b39db
Merge branch 'master' of ssh://git-annex.branchable.com
2020-07-25 12:04:56 -04:00
Joey Hess
2a45b5ae9a
avoid failure to lock content of removed file causing drop etc to fail
...
This was already prevented in other ways, but as seen in commit
c30fd24d91
, those were a bit fragile.
And I'm not sure races were avoided in every case before. At least a
race between two separate git-annex processes, dropping the same
content, seemed possible.
This way, if locking fails, and the content is not present, it will
always do the right thing. Also, it avoids the overhead of an unncessary
inAnnex check for every file.
This commit was sponsored by Denis Dzyubenko on Patreon.
2020-07-25 11:59:33 -04:00
Joey Hess
c30fd24d91
add back inAnnex check after seeking
...
The test suite noticed this case, where two files with the same key are
dropped, and the seek stage sees both have content due to the way files
stream through it. But then locking the content to drop fails on the
second file, because the first file has already been dropped.
So, add back otherwise redundant inAnnex check.
2020-07-25 11:18:50 -04:00
leej
e8135f27ef
2020-07-25 00:15:34 +00:00
Ilya_Shlyakhter
c694eb2a1c
Added a comment: updating the standalone distribution
2020-07-24 19:28:22 +00:00
Joey Hess
00c5f04f20
Deal with unusual IFS settings in the shell scripts for linux standalone and OSX app.
...
Thanks, Yaroslav Halchenko
2020-07-24 14:46:50 -04:00
Joey Hess
3627f03996
comment
2020-07-24 14:36:50 -04:00
Joey Hess
79187a6eaf
Revert "Unset IFS in shell scripts in the linux standalone build and OSX app."
...
This reverts commit 24125e8dc4
.
yoh has a better patch I see
2020-07-24 14:33:13 -04:00
Joey Hess
24125e8dc4
Unset IFS in shell scripts in the linux standalone build and OSX app.
2020-07-24 14:31:11 -04:00
Joey Hess
2e241f92c7
Merge branch 'master' of ssh://git-annex.branchable.com
2020-07-24 14:15:44 -04:00
Joey Hess
bdda55ab6f
devblog
2020-07-24 14:15:29 -04:00
Joey Hess
32e1d7bc31
add
2020-07-24 14:11:08 -04:00
nix.zahlen@1211ac6c964ba2d68b70655f747bef1383032e77
df77d63e76
Added a comment: It is really a pitty that the Windows port / version is unmaintained
2020-07-24 17:48:10 +00:00
Joey Hess
c5ea2e9d12
better benchmark for move/copy speedup
2020-07-24 13:34:12 -04:00
Joey Hess
18f1fb5841
drop performance improvements
...
Sped up seeking files to drop by 2x, and also some performance
improvements to checking numcopies.
Interestingly, the seek speedup is not due to precaching, but I think is
due to calling getParsed earlier.
Annex.Drop had to be changed to check inAnnex there, since it was removed
from Command.Drop. All other users of Command.Drop already checked inAnnex
themselves.
This commit was sponsored by Ryan Newton on Patreon.
2020-07-24 13:27:46 -04:00
Joey Hess
a01aa214be
enable location log precaching for mirror
...
It will be some perf increase, but the command is not much used so I
have not bothered to benchmark it.
2020-07-24 13:19:24 -04:00
Joey Hess
d732ef1a89
move, copy: Sped up seeking for annexed files to operate on by a factor of nearly 2x.
2020-07-24 12:56:02 -04:00
Joey Hess
00865cdae8
Fix a bug in find --branch in the previous version
...
inAnnex check was lost for that code path. To avoid more such mistakes,
made withKeyOptions check it when the AnnexedFileSeeker specifies.
2020-07-24 12:05:28 -04:00
erewhon
694c2dc16c
Added a comment
2020-07-24 16:05:08 +00:00
Joey Hess
2d771a7d32
add back inAnnex check for keys options
...
Lost in recent commit.
2020-07-24 11:49:15 -04:00
yarikoptic
d7e04e5e3a
Added a comment
2020-07-24 15:22:40 +00:00
yarikoptic
4ff59a85d5
report on intolerance of IFS
2020-07-24 01:42:59 +00:00
flpgdt@f64318f00d9e1c9535e11f5d27c80c1d799cce00
d604cd621b
2020-07-23 13:12:38 +00:00
karel-de-macil
39337c604b
2020-07-23 10:30:35 +00:00
karel-de-macil
8325db46a6
2020-07-23 10:28:43 +00:00
karel-de-macil
205d6ea3e7
Added a comment
2020-07-23 10:17:09 +00:00
karel-de-macil
c6454b9b22
2020-07-23 08:32:56 +00:00
Joey Hess
4685612f43
small git-annex get speedup
...
Remove an redundant inAnnex check. The checkContentPresent handles that,
and after the last commit also does in batch mode.
2020-07-22 14:29:30 -04:00
Joey Hess
1be92381ec
unify batch mode with non-batch by using AnnexedFileSeeker
2020-07-22 14:23:28 -04:00
kyle
155b56f015
Added a comment
2020-07-22 16:12:25 +00:00
mreiden
6dbe68bac5
Added a comment: Autobuild permissions
2020-07-22 16:07:22 +00:00
kyle
0538dc425c
Added a comment
2020-07-22 16:01:05 +00:00
Joey Hess
d9ae6ab0b4
comment
2020-07-22 11:12:38 -04:00
Joey Hess
8da851d585
Merge branch 'master' of ssh://git-annex.branchable.com
2020-07-22 11:06:13 -04:00
Joey Hess
aa492bc659
Fix a hang when using git-annex with an old openssh 7.2p2
...
This does mean a 2 second delay after transfers when using that ssh, but
it's an old and apparently quite weirdly broken version of ssh.
2020-07-22 11:04:33 -04:00
Barafu
6dbef88eee
2020-07-21 23:25:06 +00:00
Joey Hess
afaae84f49
comment
2020-07-21 16:50:26 -04:00
Joey Hess
cb74cefde7
Fix a hang when using git-annex with an old openssh 7.2p2
...
Which had some weird inheriting of ssh FDs by sshd.
Bug was introduced in git-annex version 7.20200202.7.
2020-07-21 16:14:25 -04:00
Joey Hess
b75aa68bfa
Merge branch 'master' of ssh://git-annex.branchable.com
2020-07-21 15:31:04 -04:00
Joey Hess
ac56a5c2a0
Fix a lock file descriptor leak that could occur when running commands like git-annex add with -J
...
Bug was introduced as part of a different FD leak fix in version 6.20160318.
2020-07-21 15:30:47 -04:00
Joey Hess
fd8339005a
update
2020-07-21 14:44:07 -04:00
Barafu
314aef3471
2020-07-21 18:43:40 +00:00
Barafu
75d59a47d7
2020-07-21 18:42:32 +00:00
Ilya_Shlyakhter
59917f8a6d
Added a comment: external backend protocol
2020-07-21 17:43:27 +00:00
Joey Hess
473e9767f4
Merge branch 'master' of ssh://git-annex.branchable.com
2020-07-21 13:01:11 -04:00
Joey Hess
798fdad660
fix build with dlist-1.0
...
That removed the list function. This new implementation appears to
actually be more efficient anyway, since it avoids toList.
2020-07-21 12:58:51 -04:00
Ilya_Shlyakhter
b1e84e61e1
posted build questions
2020-07-21 15:06:23 +00:00
Joey Hess
77f7157ddb
analysis
2020-07-21 10:30:46 -04:00
Joey Hess
4de4c36d2b
dup
2020-07-21 10:07:23 -04:00