Commit graph

26929 commits

Author SHA1 Message Date
Joey Hess
d19dbdb05e
comment 2020-01-06 12:52:59 -04:00
Joey Hess
40ebeebd5f
devblog 2020-01-01 15:16:07 -04:00
Joey Hess
724514ccae
comment 2020-01-01 15:04:37 -04:00
Joey Hess
bc70a8b3f6
comments 2020-01-01 15:03:01 -04:00
Joey Hess
a234ad7368
fix comment location 2020-01-01 14:52:16 -04:00
Joey Hess
d0f3b01c31
update comments to point to conversion docs
want to avoid use of -c annex.largefiles..
2020-01-01 14:38:40 -04:00
Joey Hess
f9782dd1b1
comment 2020-01-01 14:26:58 -04:00
Joey Hess
503788238c
add --force-annex/--force-git
options make it easier to override annex.largefiles configuration
(and potentially safer as it avoids bugs like the smudge bug fixed
in the last release)

Deleted some old comments that were posted to the man page discussing such
options.

Updated docs that used -c annex.largefiles to use the options.

Note that addSmallOverridden was needed to avoid the clean filter running
on the file. It would be possible to make addFile also update the index
directly, rather than going via git add. However, it was not necessary,
and I want to avoid breaking on some edge case, particularly if the code in
addSmallOverridden has some oversight.

Also, when annex.addunlocked is set and annex.largefiles does not match a file,
git annex add --force-large works, but git status will then show the file
as added, with a unstaged modification. The unstaged modification adds the
file to git. This is identical behavior to using -c annex.largefiles=nothing
when annex.addunlocked is set. This does not prevent committing what was
intended to be added. I have not gotten to the bottom of why git thinks
the file is modified and runs it through the clean filter in this case.
2020-01-01 14:03:06 -04:00
cdl+git-annex@b0d37ee10004bd40b9b1bda4c5d4eeec3bde3981
ef6d1e3276 2019-12-31 02:05:11 +00:00
Ilya_Shlyakhter
98b5762963 Added a comment: named pipes and external remotes 2019-12-31 01:38:03 +00:00
cdl+git-annex@b0d37ee10004bd40b9b1bda4c5d4eeec3bde3981
2b9172e981 2019-12-30 19:25:31 +00:00
Joey Hess
7696fc9a91
add news item for git-annex 7.20191230 2019-12-30 14:50:15 -04:00
Joey Hess
8ea9f1bc5c
comment 2019-12-30 14:36:04 -04:00
qiang.fang@ddaed0de00c2925f8036e6c61ce6e12654263ada
97d7c596ac 2019-12-30 13:22:39 +00:00
sirio@84e81889437b3f6208201a26e428197c6045c337
1383135f75 Added a comment: Duplicate 'gcrypt-id' may be the issue? 2019-12-29 22:10:26 +00:00
kyle
507a860e2e Added a comment 2019-12-28 21:06:46 +00:00
Joey Hess
9a04e2c859
close 2019-12-27 15:08:11 -04:00
Joey Hess
ea3cb7d277
fix a case where file tracked by git unexpectedly becomes annex pointer file
smudge: When annex.largefiles=anything, files that were already stored in
git, and have not been modified could sometimes be converted to being
stored in the annex. Changes in 7.20191024 made this more of a problem.
This case is now detected and prevented.
2019-12-27 15:08:03 -04:00
Joey Hess
b9481c6ba0
comment 2019-12-27 14:52:19 -04:00
Joey Hess
ca4a200c2e
update on variant 2019-12-27 13:17:53 -04:00
Joey Hess
6ad4f2635d
Merge branch 'master' of ssh://git-annex.branchable.com 2019-12-27 12:47:32 -04:00
Joey Hess
1b71bc4330
followup 2019-12-27 03:04:23 -04:00
chkno@50332f55d5ef2f4b7c6bec5253b853a8f2dc770e
6f74b090ad 2019-12-27 00:47:46 +00:00
chkno@50332f55d5ef2f4b7c6bec5253b853a8f2dc770e
3c756b8045 2019-12-27 00:47:03 +00:00
Joey Hess
4176b335a6
implelented in v8 2019-12-26 16:39:27 -04:00
Joey Hess
293f95c2d6
analysis 2019-12-26 15:05:36 -04:00
yarikoptic
2dffa59f79 added projects/datalad 2019-12-24 14:10:49 +00:00
https://christian.amsuess.com/chrysn
b8ab61d5fd Added a comment: Workaround 2019-12-22 10:50:33 +00:00
https://christian.amsuess.com/chrysn
8ffc58a5d8 link from bug report to submodules to make the affecting bug visible there 2019-12-22 10:02:23 +00:00
spwhitton
d107ce1e77 Added a comment 2019-12-21 23:03:46 +00:00
spwhitton
01b8eb5e3d add workaround 2019-12-21 22:20:31 +00:00
spwhitton
72c5f9132c report bug 2019-12-21 22:11:38 +00:00
https://christian.amsuess.com/chrysn
608d4413d9 report difficulty encountered when using submodules 2019-12-21 20:40:44 +00:00
michael.fsp@85f5ea833fb457cf7b0b0181c314888d5f32649c
49f5e1eab5 Added a comment: windows installer has not been updated to version 7.20191218 2019-12-21 18:17:19 +00:00
spwhitton
1a5e29c47c fix copy/paste mistake 2019-12-21 04:20:40 +00:00
spwhitton
501492a40a file bug 2019-12-21 04:19:56 +00:00
Joey Hess
14897ec8e2
comment 2019-12-20 16:11:21 -04:00
Joey Hess
0141c5436e
Merge branch 'master' of ssh://git-annex.branchable.com 2019-12-20 15:58:15 -04:00
Joey Hess
37467a008f
annex.addunlocked expressions
* annex.addunlocked can be set to an expression with the same format used by
  annex.largefiles, in case you want to default to unlocking some files but
  not others.
* annex.addunlocked can be configured by git-annex config.

Added a git-annex-matching-expression man page, broken out from
tips/largefiles.

A tricky consequence of this is that git-annex add --relaxed
honors annex.addunlocked, but an expression might want to know the size
or content of an url, which it's not going to download. I decided it was
better not to fail, and just dummy up some plausible data in that case.

Performance impact should be negligible. The global config is already
loaded for annex.largefiles. The expression only has to be parsed once,
and in the simple true/false case, it should not do any additional work
matching it.
2019-12-20 15:56:25 -04:00
yarikoptic
1bd6549b72 Added a comment: oh hoh, there is mimeencoding now 2019-12-20 19:54:04 +00:00
yarikoptic
98c9136d4f elaborated on my previous (marked "done") bug report about mimetypes 2019-12-20 19:50:24 +00:00
Joey Hess
f79bd52132
improve docs of addunlocked re adjusted branches 2019-12-20 13:19:36 -04:00
Joey Hess
945be47b48
fix syntax of largefiles example
has always been wrong syntax!
2019-12-20 13:06:53 -04:00
Joey Hess
4acbb40112
git-annex config annex.largefiles
annex.largefiles can be configured by git-annex config, to more easily set
a default that will also be used by clones, without needing to shoehorn the
expression into the gitattributes file. The git config and gitattributes
override that.

Whenever something is added to git-annex config, we have to consider what
happens if a user puts a purposfully bad value in there. Or, if a new
git-annex adds some new value that an old git-annex can't parse.
In this case, a global annex.largefiles that can't be parsed currently
makes an error be thrown. That might not be ideal, but the gitattribute
behaves the same, and is almost equally repo-global.

Performance notes:

git-annex add and addurl construct a matcher once
and uses it for every file, so the added time penalty for reading the global
config log is minor. If the gitattributes annex.largefiles were deprecated,
git-annex add would get around 2% faster (excluding hashing), because
looking that up for each file is not fast. So this new way of setting
it is progress toward speeding up add.

git-annex smudge does need to load the log every time. As well as checking
the git attribute. Not ideal. Setting annex.gitaddtoannex=false avoids
both overheads.
2019-12-20 13:01:41 -04:00
Joey Hess
f07cb76640
improve docs of gitaddtoannex 2019-12-20 10:35:44 -04:00
Joey Hess
7d50e98646
thought 2019-12-19 16:44:08 -04:00
Joey Hess
e8651fbd09
comment 2019-12-19 13:39:08 -04:00
Joey Hess
37db1fa5a0
Merge branch 'bs' 2019-12-19 13:12:39 -04:00
Joey Hess
96a8b2d095
typo 2019-12-19 12:52:56 -04:00
Joey Hess
2e34516e6a
formatting 2019-12-19 12:52:12 -04:00