Commit graph

38823 commits

Author SHA1 Message Date
Joey Hess
3fa806b048
wrong, wrong, wrong 2021-01-04 16:28:36 -04:00
Joey Hess
a3a19518d8
fix --time-limit
It got broken in several ways by the streaming seeking optimisations
around version 8.20201007.

Moved time limit checking out of the matcher, which was a hack in the
first place. So everywhere that uses Limit.getMatcher needs to check
time limit. Well, almost everywhere. Command.Info uses it, but it does
not make sense to time limit getting info. And Command.MultiCast uses it
just to build up a list of files that then get passed to a command, so
it would never have hit the timeout in a useful way.

This implementation is a little more expensive when at time limit than
necessary, since it continues seeking only to discard everything after the
time limit. I did try making it close the file handles to force a faster
shutdown, but that didn't work and hung. Could certianly be improved
somehow, but seeking is probably not the expensive bit when a time limit
is hit, so this seems acceptable for now.
2021-01-04 15:57:11 -04:00
Joey Hess
a5511c32d7
comment 2021-01-04 14:32:29 -04:00
Joey Hess
8a84ddc061
close 2021-01-04 13:46:11 -04:00
Joey Hess
0684b940ae
comment 2021-01-04 13:43:01 -04:00
Joey Hess
ebc89b3550
add pointer to annex.largefiles config docs 2021-01-04 13:39:48 -04:00
Joey Hess
8f69f5d9aa
comment 2021-01-04 13:34:32 -04:00
Joey Hess
5ce61c6b2a
add: Significantly speed up adding lots of non-large files to git
* add: Significantly speed up adding lots of non-large files to git,
  by disabling the annex smudge filter when running git add.
* add --force-small: Run git add rather than updating the index itself,
  so any other smudge filters than the annex one that may be enabled will
  be used.
2021-01-04 13:12:28 -04:00
Joey Hess
0b2b666a38
fix bad annex.largefiles example syntax 2021-01-04 13:11:05 -04:00
Joey Hess
1c5fc8f047
Git.Queue: allow providing git common options like -c 2021-01-04 12:51:55 -04:00
Joey Hess
36f691e7e5
update year 2021-01-04 12:45:19 -04:00
Joey Hess
cd776ecb2e
avoid combining queued commands with different params
I don't think this affected git-annex currently, but if the same command
was queued twice with different params, one set of params was thrown
away, and the files going with those were run with the other set of
params.
2021-01-04 12:41:19 -04:00
Joey Hess
e7b0754171
comment and todo 2021-01-04 12:26:48 -04:00
Joey Hess
27ec6c7427
comment 2021-01-04 12:07:01 -04:00
Joey Hess
4f95ff6e84
comment 2021-01-04 12:05:32 -04:00
Joey Hess
89f923135d
comment 2021-01-04 12:04:01 -04:00
Joey Hess
409eeed014
Merge branch 'master' of ssh://git-annex.branchable.com 2021-01-04 11:57:29 -04:00
AlbertZeyer
ebe6c12cc0 Added a comment 2021-01-04 12:04:04 +00:00
AlbertZeyer
c5dd184d66 Added a comment 2021-01-03 22:07:02 +00:00
AlbertZeyer
3ceaf762b9 2021-01-03 22:02:02 +00:00
AlbertZeyer
29114d53d9 Added a comment 2021-01-03 21:48:51 +00:00
AlbertZeyer
d7bb4040d8 Added a comment 2021-01-02 23:49:14 +00:00
Joey Hess
ea95de3656
Merge branch 'master' of ssh://git-annex.branchable.com 2021-01-02 19:33:55 -04:00
AlbertZeyer
62f06649d7 Added a comment 2021-01-02 16:23:05 +00:00
Lukey
0a264f1c98 2021-01-02 15:28:02 +00:00
Lukey
7f11160002 Added a comment 2021-01-02 15:22:18 +00:00
Lukey
bd5c668118 Added a comment 2021-01-02 15:16:04 +00:00
Lukey
420e704955 Added a comment 2021-01-02 15:12:49 +00:00
Lukey
ed412d2406 Added a comment 2021-01-02 15:05:01 +00:00
AlbertZeyer
065cea3568 Added a comment 2021-01-01 22:30:34 +00:00
AlbertZeyer
90a026b33d Added a comment: Difference to import/add? 2021-01-01 21:49:29 +00:00
AlbertZeyer
754327b2c4 Added a comment: rename or move files 2021-01-01 21:33:41 +00:00
AlbertZeyer
62a6d40f1c Added a comment: Adding external files 2021-01-01 21:30:38 +00:00
AlbertZeyer
c7bcc32e37 Added a comment: annex.largefiles 2021-01-01 21:25:44 +00:00
Lukey
497d45d04c 2021-01-01 15:43:43 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
f972c5c132 Added a comment 2021-01-01 04:08:44 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
c7939d226e Added a comment 2020-12-31 22:45:03 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
31eef3d213 Added a comment 2020-12-31 22:05:19 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
cc1e8897e6 Added a comment 2020-12-31 22:00:08 +00:00
Lukey
89ac4e68bb Added a comment 2020-12-31 21:46:33 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
e82bbb09a2 Added a comment 2020-12-31 20:51:12 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
6e467a3807 Added a comment 2020-12-31 20:34:55 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
073cdd6227 removed 2020-12-31 19:41:18 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
3643705e2e Added a comment 2020-12-31 19:40:22 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
82b4916c31 Added a comment 2020-12-31 19:40:01 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
861b3b3088 Added a comment 2020-12-31 19:34:56 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
935f8991cb Added a comment 2020-12-31 18:55:30 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
50b200b5e0 2020-12-31 18:51:50 +00:00
Joey Hess
13a1d6eb17
Merge branch 'master' of ssh://git-annex.branchable.com 2020-12-31 13:46:25 -04:00
Lukey
5826c713db Added a comment 2020-12-31 17:32:47 +00:00