Commit graph

1467 commits

Author SHA1 Message Date
Joey Hess
43d1747804 Merge remote-tracking branch 'branchable/master' 2011-03-22 20:36:24 -04:00
Joey Hess
c1dc407941 Fix space leak in fsck and drop commands.
The space leak was somehow caused by this line:

	absfiles <- mapM absPath files

I confess, I don't quite understand why this caused bad buffering,
but apparently the whole pipeline from git-ls-files backed up at that
point.

Happily, rewriting the code to only get the cwd once and use a pure
function to calculate absfiles clears it up, and should be a little more
efficient in syscalls too.
2011-03-22 20:31:22 -04:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
686b12ae30 Added a comment 2011-03-22 23:41:53 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
d2a8e51177 2011-03-22 22:59:55 +00:00
Joey Hess
5d75919561 update 2011-03-22 18:55:29 -04:00
Joey Hess
3a41923789 clarify wording
temp files are always assumed to be unused, in either mode
2011-03-22 18:53:16 -04:00
Joey Hess
1ea373e246 clarify 2011-03-22 18:52:52 -04:00
Joey Hess
9f9325aa3d clean too 2011-03-22 18:51:14 -04:00
Joey Hess
ee6fabb7ca update 2011-03-22 18:50:36 -04:00
Joey Hess
fea20d260c applied 2011-03-22 18:45:11 -04:00
Jimmy Tang
c44c318eaf Touch up Makefile to depend on StatFS.hs 2011-03-22 18:43:54 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus
4ca3a3a9b5 2011-03-22 22:25:27 +00:00
Joey Hess
3b312a0c2b Merge remote-tracking branch 'branchable/master' 2011-03-22 17:54:09 -04:00
Joey Hess
368e20eb84 diskreserve setting
Add annex.diskreserve config setting, to control how much free space to
reserve for other purposes and avoid using (defaults to 1 mb).
2011-03-22 17:53:40 -04:00
Joey Hess
c21998722c fast mode
Add --fast flag, that can enable less expensive, but also less thurough versions of some commands.

* Add --fast flag, that can enable less expensive, but also less thurough
  versions of some commands.
* fsck: In fast mode, avoid checking checksums.
* unused: In fast mode, just show all existing temp files as unused,
  and avoid expensive scan for other unused content.
2011-03-22 17:41:06 -04:00
Joey Hess
aa2d8e33df free space checking
Free space checking is now done, for transfers of data for keys that have free space metadata.
(Notably, not for SHA* keys generated with git-annex 0.24 or earlier.)

The code is believed to work on Linux, FreeBSD, and OSX; check compile-time
messages to see if it is not enabled for your OS.
2011-03-22 17:27:04 -04:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
0fe3ff8e14 2011-03-22 21:25:47 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
66f1d7dc5b 2011-03-22 21:25:29 +00:00
Joey Hess
aa1bc31e0a be a no-op on non-linux, non-freebsd systems
Todo later: use POSIX statvfs

Note: Re OSX, see http://code.google.com/p/xmobar/issues/detail?id=28
Apparently xmobar's code will work on OSX, probably __FreeBSD__ is defined
there.
2011-03-22 16:01:43 -04:00
Joey Hess
8ede2e255f add StatFS.hsc, copied from xmobar 2011-03-22 15:53:07 -04:00
Joey Hess
25605d18fd generalize 2011-03-22 15:39:36 -04:00
http://joey.kitenet.net/
6815a9974f Added a comment 2011-03-22 18:09:21 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus
90a15fc214 Added a comment 2011-03-22 14:01:38 +00:00
http://peter-simons.myopenid.com/
e6dfcbf32b Added a comment: Please provide stable tarballs or zipfiles 2011-03-22 13:06:59 +00:00
Joey Hess
c94261020f typo 2011-03-21 23:37:46 -04:00
Joey Hess
c048905dc4 upgrade messages 2011-03-21 20:48:58 -04:00
praet
e1147b4454 Added a comment 2011-03-21 19:58:36 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus
6fe02b24fa Added a comment 2011-03-21 08:52:19 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmSbJHbvlxbCjtPXk_Io3qP3MFqJr3pUgQ
d8dfd2c103 2011-03-21 04:27:46 +00:00
Joey Hess
02c3f3880b Merge remote-tracking branch 'branchable/master' 2011-03-20 18:12:01 -04:00
Joey Hess
162047b8da add news item for git-annex 0.20110320 2011-03-20 18:11:24 -04:00
Joey Hess
09b16afe02 releasing version 0.20110320 2011-03-20 18:11:00 -04:00
http://joey.kitenet.net/
fccd30cacd Added a comment 2011-03-20 22:06:26 +00:00
Joey Hess
08d1c13628 fix typo 2011-03-20 18:06:06 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus
cb4ed36f13 Added a comment 2011-03-20 20:48:42 +00:00
praet
23cf9dac86 Added a comment: Brainfart 2011-03-20 20:11:28 +00:00
Joey Hess
464b60ea0d Merge remote-tracking branch 'branchable/master' 2011-03-20 14:15:00 -04:00
http://joey.kitenet.net/
05ae9cb1bb Added a comment 2011-03-20 18:12:59 +00:00
Joey Hess
6634b6a6b8 imcomplete attempt at supporting lutimes(3) for BSD compat 2011-03-20 14:09:24 -04:00
Joey Hess
140a351fc5 avoid version check before running version and upgrade commands
There are two types of commands; those that access the repository and those
that don't. Sorted.
2011-03-19 18:58:49 -04:00
Joey Hess
54c39d09ba need to explicitly run upgrade now 2011-03-19 18:58:10 -04:00
Joey Hess
91d1d935dd git-annex setup 2011-03-19 18:56:36 -04:00
Joey Hess
6a2a17658c No longer auto-upgrade to repository format 2, to avoid accidental upgrades, etc. Use git-annex upgrade when you're ready to run this version. 2011-03-19 18:33:39 -04:00
Joey Hess
43b3675d42 don't crash on upgrade if .git-annex DNE 2011-03-19 14:46:44 -04:00
Joey Hess
1de3cbbef1 Merge remote-tracking branch 'branchable/master' 2011-03-19 14:39:36 -04:00
Joey Hess
5022a69e45 implemented 2011-03-19 14:39:03 -04:00
Joey Hess
828a84ba33 Add version command to show git-annex version as well as repository version information. 2011-03-19 14:33:24 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus
942480c47f fix typo 2011-03-19 17:33:32 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus
c0eabcc191 link to page 2011-03-19 17:33:21 +00:00
Joey Hess
33cb114be5 Merge remote-tracking branch 'branchable/master' 2011-03-19 12:49:58 -04:00