Joey Hess
2926cc64fb
In .gitattributes, the git-annex-backend attribute can be set to the names of backends to use when adding different types of files.
2010-11-01 19:05:38 -04:00
Joey Hess
ab3294f1dd
wrote checkAttr
2010-11-01 18:24:19 -04:00
Joey Hess
899a86f8f9
now only need to add gitattributes lookup
2010-11-01 17:50:37 -04:00
Joey Hess
287e6e5c13
bring back param descriptions in usage
2010-11-01 17:18:32 -04:00
Joey Hess
15e7d59137
rework complete
2010-11-01 17:12:58 -04:00
Joey Hess
fefaa5cc48
big subcommand dispatch rework
...
not quite done.. head hurts
2010-11-01 17:01:27 -04:00
Joey Hess
59e49ae083
rework subcommand invocation logic
2010-11-01 15:40:28 -04:00
Joey Hess
4da551827f
trim
2010-11-01 03:12:28 -04:00
Joey Hess
0655ae4b8a
move
2010-11-01 03:01:58 -04:00
Joey Hess
524125e52e
fix
2010-11-01 00:28:52 -04:00
Joey Hess
4b9990194c
expand
2010-11-01 00:27:27 -04:00
Joey Hess
11215b5b11
cleanup
2010-11-01 00:26:47 -04:00
Joey Hess
e638f9647d
add global fallback for per-repo options
2010-11-01 00:17:26 -04:00
Joey Hess
99c522edef
finished adding support for annex.ssh-options
2010-11-01 00:04:53 -04:00
Joey Hess
0bd7ebbf35
make a ssh call honor annex-ssh-options
2010-10-31 23:50:58 -04:00
Joey Hess
cec25153ec
bugfix: git annex move --from <file remote>
...
The data structure comparison didn't work because for a file remote,
the config gets read for one structure but not the other.
2010-10-31 23:38:07 -04:00
Joey Hess
00d4c7cd01
simplify evals
2010-10-31 23:24:16 -04:00
Joey Hess
f3e4633e35
refactor inAnnex remote checking to Remotes
2010-10-31 23:21:16 -04:00
Joey Hess
0194394be6
Added remote.annex-scp-options and remote.annex-ssh-options.
2010-10-31 22:56:56 -04:00
Joey Hess
e70812eca9
use ssh -p to preserve perms
...
and refactor
2010-10-31 22:29:11 -04:00
Joey Hess
c6206c4560
tweak
2010-10-31 22:22:01 -04:00
Joey Hess
d04bfceaad
more accurate type
2010-10-31 22:20:07 -04:00
Joey Hess
11efa7ef60
more escaping for ssh
2010-10-31 22:19:25 -04:00
Joey Hess
228b32d473
bugfix: shell escape for scp
2010-10-31 22:13:43 -04:00
Joey Hess
4e742d62f4
Revert "add toggles"
...
This reverts commit f4383532e6
.
2010-10-31 19:57:05 -04:00
Joey Hess
b5411926ab
Revert "foo"
...
This reverts commit 371906efb0
.
2010-10-31 19:54:12 -04:00
Joey Hess
371906efb0
foo
2010-10-31 19:53:17 -04:00
Joey Hess
f4383532e6
add toggles
2010-10-31 19:52:11 -04:00
Joey Hess
fd6611f955
Fix crash on unknown symlinks.
2010-10-31 18:04:34 -04:00
Joey Hess
b220e117f2
idea
2010-10-31 17:20:05 -04:00
Joey Hess
763882925d
idea2
2010-10-31 17:04:28 -04:00
Joey Hess
9429cdb9da
idea
2010-10-31 17:02:49 -04:00
Joey Hess
dda0679290
all Walls are clean!
2010-10-31 16:04:19 -04:00
Joey Hess
cf4c926f2e
more Wall cleaning
2010-10-31 16:00:32 -04:00
Joey Hess
b2c28c1ac0
more Wall cleaning
2010-10-31 15:50:07 -04:00
Joey Hess
aa05859410
more Wall cleaning
2010-10-31 15:38:47 -04:00
Joey Hess
435ec21d58
bugfix: really run GitQueue against specified repo, not necessarily pwd
2010-10-31 15:25:55 -04:00
Joey Hess
96fa6b89ac
more Wall cleaning
2010-10-31 15:12:56 -04:00
Joey Hess
80ed63ebb4
Merge remote branch 'branchable/master'
2010-10-31 15:10:26 -04:00
Joey Hess
28b5a9fa20
changelog
2010-10-31 15:09:50 -04:00
Joey Hess
40729e4bfd
more Wall cleaning
2010-10-31 14:40:34 -04:00
Joey Hess
2d893b3331
more Wall cleaning
2010-10-31 14:39:53 -04:00
Joey Hess
1576c48c80
more Wall cleaning
2010-10-31 14:32:18 -04:00
Joey Hess
dc12ce762e
-Wall clean
2010-10-31 14:23:51 -04:00
http://users.itk.ppke.hu/~cstamas/openid/
081517b6e9
add 'done' link
2010-10-31 16:10:22 +00:00
http://users.itk.ppke.hu/~cstamas/openid/
bcfd0d908a
building on squeeze
2010-10-31 16:06:00 +00:00
Joey Hess
6a9a9bd5a3
another memory optimisation
...
This time memory leaked if lots of UUIDs needed to be pretty-printed, as in
a get or drop of many files. Essentially the same strict read buffering
problem that affected the LocationLog underneath though.
uuidMap really could stand to be cached, as the uuid log is read many times
in this case. But it is a fairly edge case.
2010-10-31 01:51:50 -04:00
Joey Hess
59672d32ed
write to tmp file
...
Writing to a tmp file means no locking is needed, and it fixes a bug
introduced by the last commit, which made log files be read lazily, so
they could still be open when written, which breaks due to haskell's
internal locking.
2010-10-31 01:06:58 -04:00
Joey Hess
d5a0c16298
more space saving by not locking location log for read
...
Actions that need to read all the location logs, like "git annex get .",
were still using a lot of memory, and profiling pointed at the location log
reading as the problem. Not locking them for read, and thus avoiding the
strict reading fixes the problem, although I don't quite understand why.
(Oddly, -sstderr profiling did not show the memory as used, though top
showed dozens of MB being used.)
Anyway, it's fine to not lock location logs for read, since the log format
and parser should be safe if a partial read of a file being written happens.
Note that that could easily happen anyway, if doing a git pull, etc,
especially if git needs to union merge in changes from elsewhere. The worst
that will happen is git-annex could get a bad or out of date idea about
locations and refuse to eg, --drop something.
2010-10-30 23:34:40 -04:00
Joey Hess
c2651d64bc
Fixed memory leak; git-annex no longer reads the whole file list from git before starting, and will be much faster with large repos.
2010-10-30 23:19:33 -04:00