Commit graph

22604 commits

Author SHA1 Message Date
https://id.koumbit.net/anarcat
bc96023656 2015-01-21 00:52:47 +00:00
Joey Hess
068aaf943b on second thought, InodeCache should use getFileSize
This is necessary for interop between inode caches created on unix and
windows. Which is more important than supporting inodecaches for large keys
with the wrong size, which are broken anyway.

There should be no slowdown from this change, except on Windows.
2015-01-20 19:35:50 -04:00
Joey Hess
467b77fd3b devblog 2015-01-20 17:35:48 -04:00
Joey Hess
7a14edce5a build fix 2015-01-20 17:27:42 -04:00
Joey Hess
27c24b7407 fix upFrom of "." (and upFrom of "/" on Windows) 2015-01-20 17:23:23 -04:00
Joey Hess
4f657aa14e add getFileSize, which can get the real size of a large file on Windows
Avoid using fileSize which maxes out at just 2 gb on Windows.
Instead, use hFileSize, which doesn't have a bounded size.
Fixes support for files > 2 gb on Windows.

Note that the InodeCache code only needs to compare a file size,
so it doesn't matter it the file size wraps. So it has been
left as-is. This was necessary both to avoid invalidating existing inode
caches, and because the code passed FileStatus around and would have become
more expensive if it called getFileSize.

This commit was sponsored by Christian Dietrich.
2015-01-20 17:09:24 -04:00
Joey Hess
87c4f0e320 answer 2015-01-20 15:20:09 -04:00
Joey Hess
ffe0c8e482 comment; this is a dup of the windows long filename bug 2015-01-20 15:14:44 -04:00
Joey Hess
2e9ff2ea6b response 2015-01-20 14:53:54 -04:00
Joey Hess
6035f94666 Windows: Fix running of the pre-commit-annex hook. 2015-01-20 14:48:16 -04:00
Joey Hess
d818e4c06c close; dup 2015-01-20 13:13:55 -04:00
Joey Hess
2a0a06ba36 try to coax any useful info out 2015-01-20 13:06:46 -04:00
Joey Hess
3e8af7610a retitle original newline bug report to more generic title and close dup 2015-01-20 13:03:29 -04:00
Joey Hess
39d289a70b followup 2015-01-20 12:58:41 -04:00
Joey Hess
afcecdc574 followup 2015-01-20 12:47:13 -04:00
Joey Hess
514776662d remove possibly incorrect statement about walkthrough not making a direct mode repo -- depends on OS and filesystem 2015-01-20 12:43:18 -04:00
Joey Hess
3c695786e6 fix ld documentation which used initremote instead of enableremote 2015-01-20 12:42:02 -04:00
Joey Hess
05bb05b385 add new walkthrough chapter on using special remotes 2015-01-20 12:41:49 -04:00
Joey Hess
3de04f9d2d comment 2015-01-20 12:14:41 -04:00
Rasmus
1c6059bb7f 2015-01-20 13:31:40 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnW_CrhP9p50n9UUhTg_a9glyKWSvnrjRQ
d0cc2102e7 Added a comment: direct mode pre-commit hooks [on windows] 2015-01-20 12:43:24 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnSJ8dmieVH2ffbZETRjQ5J7NTF4RYeKF4
47aafdb67a 2015-01-19 20:32:39 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnwNDA50ZupMvOgpgDqzDRyu5B-mYlVwa4
5ca14275bf Added a comment 2015-01-19 11:49:32 +00:00
zoltanp
274432021c add bug: creating git annex unused fails when a filename contains newline 2015-01-19 11:22:17 +00:00
vsk62gate
ffe5418899 2015-01-19 05:42:31 +00:00
Phyks
36a332ba15 2015-01-18 23:54:43 +00:00
http://joeyh.name/
b25ac126ee Added a comment 2015-01-16 20:38:57 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnmF_9CAtfqdZkC4e-_dCX-rK5bqh4RWkw
dec9e5ff0e Added a comment: Thanks and question 2015-01-16 20:14:32 +00:00
Joey Hess
3812c0990d tweak 2015-01-16 13:50:40 -04:00
Joey Hess
58c24441e6 document "unused" in preferred content expressions 2015-01-16 13:47:07 -04:00
Joey Hess
23d2519be1 Fix wording of message displayed when unable to get a file that is available in untrusted repositories. 2015-01-16 13:29:54 -04:00
Joey Hess
3abb775855 remove unnecessary qualification 2015-01-16 13:14:44 -04:00
Joey Hess
ab67086da5 Merge branch 'master' of ssh://git-annex.branchable.com 2015-01-16 13:00:34 -04:00
mkdf
dbf77f81c0 Added a comment 2015-01-16 06:10:43 +00:00
Joey Hess
b6d6759524 update 2015-01-15 15:58:56 -04:00
Joey Hess
a92737c8b9 Fix build failure when wget is not installed. 2015-01-15 15:42:15 -04:00
Joey Hess
8872f2fbdb Merge branch 'master' of ssh://git-annex.branchable.com 2015-01-15 15:39:01 -04:00
Joey Hess
1ce8367417 remotedaemon: Fix problem that could prevent ssh connections being made after two LOSTNET messages were received in a row
Perhaps due to two different network interfaces being brought down.

Since there is no reliable way to drain a Chan, I switched to STM TChan.
2015-01-15 15:37:53 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnmF_9CAtfqdZkC4e-_dCX-rK5bqh4RWkw
3bc2b4d956 2015-01-15 19:24:19 +00:00
Joey Hess
ec90116851 confirmed 2015-01-15 15:11:41 -04:00
Joey Hess
11eef8eefd cannot reproduce problem; more info needed 2015-01-15 15:04:27 -04:00
Joey Hess
edb738c238 response 2015-01-15 14:59:50 -04:00
Joey Hess
1eef1ea501 reply 2015-01-15 14:57:23 -04:00
Joey Hess
fd5c3d4953 Merge branch 'master' of ssh://git-annex.branchable.com 2015-01-15 13:54:19 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnWvnTWY6LrcPB4BzYEBn5mRTpNhg5EtEg
ddf43ebfc7 Added a comment 2015-01-15 16:15:21 +00:00
Joey Hess
66a6879dcf remove ifdef that is always true
cabal file has a depends on exceptions 0.6.0
2015-01-15 12:05:39 -04:00
https://www.google.com/accounts/o8/id?id=AItOawk9SYh6N-JUMkYkW4aOk55zC3Vr9KonDV4
656756c07f Added a comment 2015-01-14 22:01:24 +00:00
https://www.google.com/accounts/o8/id?id=AItOawk9SYh6N-JUMkYkW4aOk55zC3Vr9KonDV4
b96b36e73c removed 2015-01-14 22:00:24 +00:00
https://www.google.com/accounts/o8/id?id=AItOawk9SYh6N-JUMkYkW4aOk55zC3Vr9KonDV4
91b7fda130 Added a comment 2015-01-14 21:56:34 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmiPEySoakXDQ4OUAmC9neEOZW17W1KvlU
6b5fe0ff53 Added a comment: Default value of annex.queuesize 2015-01-14 15:45:46 +00:00