Commit graph

27927 commits

Author SHA1 Message Date
Joey Hess
9ac7e833cd
Merge branch 'master' of ssh://git-annex.branchable.com 2016-05-20 12:44:32 -04:00
ilovezfs@25b1c2e6e4c5194d062624bafc4507b8398d6588
bc87b2d9f9 S3 support lacking in a stock cabal install build in a sandbox on OS X 2016-05-20 10:33:02 +00:00
EskildHustvedt
41a5155b09 Added a comment 2016-05-20 07:45:52 +00:00
EskildHustvedt
f317ecb77b 2016-05-20 07:37:38 +00:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
58bdc5be88 2016-05-19 19:11:14 +00:00
Gus
51ab43ca58 Added a comment: Thank you 2016-05-19 11:27:16 +00:00
xloem
57a7981e1b Added a comment: Freenet Special Remote 2016-05-19 03:02:19 +00:00
Joey Hess
823c28d2dc
nub transitionList to avoid ugly message after repeated transitions, and avoid redundant work for repeated ForgetDeadRemotes transitions 2016-05-18 12:26:38 -04:00
xloem
e86688651c Added a comment 2016-05-18 09:43:13 +00:00
xloem
fd23831467 Added a comment: dangling objects 2016-05-18 01:49:11 +00:00
Joey Hess
766728c8cf
unify handling of unusual GIT_INDEX_FILE relative path
This is probably a git bug that stuck in its interface.
2016-05-17 14:42:06 -04:00
Joey Hess
e81b1bc9e7
response 2016-05-17 14:13:21 -04:00
Joey Hess
8006ac923b
followup 2016-05-17 14:01:32 -04:00
Joey Hess
9492c8202b
Merge branch 'master' of ssh://git-annex.branchable.com 2016-05-17 13:49:16 -04:00
Joey Hess
b4ab1fb093
Fix crash when entering/changing view in a subdirectory of a repo that has a dotfile in its root. 2016-05-17 13:49:10 -04:00
Joey Hess
e91037a38b
use indexEnv 2016-05-17 13:38:04 -04:00
Joey Hess
93c03b5dd5
Work around git bug in handling of relative path to GIT_INDEX_FILE when in a subdirectory of the repository.
This affected git annex view. It turns out that some other places
that use GIT_INDEX_FILE were already working around the bug. I removed the
workaround from Annex.Branch since the new workaround will do.
2016-05-17 13:29:51 -04:00
Gus
5efa21becc 2016-05-17 17:19:41 +00:00
adament@c0981cf9fb3a2c013811bae9af9bada8f0fa0886
b00ea72aec 2016-05-17 16:25:08 +00:00
adament@c0981cf9fb3a2c013811bae9af9bada8f0fa0886
9d2bb5bf5e 2016-05-17 16:23:54 +00:00
Gus
a4766d581b Added a comment: Restarting 2016-05-17 10:36:56 +00:00
openmedi
5595cc8c69 Added a comment 2016-05-16 23:11:34 +00:00
Joey Hess
27000d8af6
comment 2016-05-16 17:35:30 -04:00
Joey Hess
fa56e940ba
comment 2016-05-16 17:23:38 -04:00
Joey Hess
d56175164b
avoid checking locations in regular repo
In commit 2d00523609 I accidentially
made gitAnnexLocation do more work, checking content locations,
when used in a regular repo.
2016-05-16 17:19:07 -04:00
Joey Hess
eda5d9cc74
adjust: Add --fix adjustment, which is useful when the git directory is in a nonstandard place. 2016-05-16 17:18:33 -04:00
Joey Hess
76170b0457
add: Adding a v6 pointer file used to annex it; now the pointer file is added to git as-is.
(git add of a pointer file already did the right thing)
2016-05-16 15:30:40 -04:00
Joey Hess
4efc26ca6c
move keys db closure to AutoMerge
This makes git-annex sync also do it, which makes sure that the keys db
info is fresh when doing a sync --content.
2016-05-16 15:11:14 -04:00
Joey Hess
0860731760
reorder associated file db update
There's a potential race where the smudge filter is run at the same time an
object is being downloaded. If the download finished after the inAnnex
check, and before the keys db was updated, the associated file would not
get updated with the downloaded content.

I'm not sure this closes the race; it may only narrow the window. Problem
is, the keys database needs to communicate between two different processes.
In the case of the assistant, the transferkeys command is the other
process, and it closes the db handle after getting the file. So, it should
re-open the database and so see the update that the smudge filter has
written to it. But, what if the smudge filter takes a while to update the
database?
2016-05-16 14:55:05 -04:00
Joey Hess
9249af66f6
Merge branch 'master' of ssh://git-annex.branchable.com 2016-05-16 14:50:11 -04:00
Joey Hess
5f0b551c0c
assistant: Fix race in v6 mode that caused downloaded file content to sometimes not replace pointer files.
The keys database handle needs to be closed after merging, because the
smudge filter, in another process, updates the database. Old cached info
can be read for a while from the open database handle; closing it ensures
that the info written by the smudge filter is available.

This is pretty horribly ad-hoc, and it's especially nasty that the
transferrer closes the database every time.
2016-05-16 14:49:12 -04:00
Joey Hess
fb8ab2469d
assistant: Fix bug that caused v6 pointer files to be annexed by the assistant. 2016-05-16 13:36:36 -04:00
Joey Hess
c61f038fc9
stage pointer file not annex link 2016-05-16 13:19:02 -04:00
CandyAngel
789b6c062a Added a comment 2016-05-16 11:41:09 +00:00
midfield
e7e376f60e Added a comment: timings 2016-05-15 19:58:37 +00:00
openmedi
732cc8f6ca Added a comment 2016-05-14 13:24:06 +00:00
openmedi
7767d3c5ce Added a comment 2016-05-14 13:21:04 +00:00
drunken_sapo
45ef128fe6 Added a comment: The problem was path length 2016-05-14 13:11:36 +00:00
aslkdjasd@656d48eb766881455ee14c8cd4adabdd14aad892
4b870861b1 Added a comment: layout reasoning 2016-05-14 01:23:42 +00:00
thowz
e735938bbd Added a comment: adjusting symlink paths 2016-05-13 22:32:33 +00:00
drunken_sapo
2a0ca9cb75 Added a comment 2016-05-13 18:12:24 +00:00
Joey Hess
9f05be393e
adjust: If the adjusted branch already exists, avoid overwriting it, since it might contain changes that have not yet been propigated to the original branch.
Could not think of a foolproof way to detect if the old adjusted branch was
just behind the current branch. It's possible that the user amended the
adjusting commit at the head of the adjusted branch, for example.

I decided to bail in this situation, instead of just entering the old
branch, so that if git annex adjust succeeds the user is always in a
*current* adjusted branch, not some old and out of date one.

What could perhaps be done is enter the old branch and then update it. But
that seems too magical; the user may have rebased master or something or
may not want to propigate the changes from the old branch. Best to error
out.
2016-05-13 14:04:22 -04:00
Joey Hess
36cf163321
found a bad memory use in git 2016-05-12 17:26:33 -04:00
Joey Hess
0bbc6050f0
Merge branch 'master' of ssh://git-annex.branchable.com 2016-05-12 17:20:27 -04:00
Joey Hess
555a411cce
devblog 2016-05-12 17:19:55 -04:00
midfield
234f3ab1b5 Added a comment: v6 mode 2016-05-12 20:19:15 +00:00
midfield
811adffabd 2016-05-12 20:18:34 +00:00
Joey Hess
dd260706af
webapp: Avoid confusing display of dead remotes. 2016-05-12 16:12:16 -04:00
Joey Hess
a261a05c15
followup 2016-05-12 15:45:07 -04:00
Joey Hess
aa0bb64e6a
response 2016-05-12 15:31:40 -04:00