Commit graph

39896 commits

Author SHA1 Message Date
Joey Hess
73f330a62e
document an important property of relPathCwdToFile 2021-05-07 12:57:54 -04:00
Joey Hess
9e1a693f16
Merge branch 'master' of ssh://git-annex.branchable.com 2021-05-07 11:44:58 -04:00
Joey Hess
0caf171c63
patch review 2021-05-07 11:44:30 -04:00
Ilya_Shlyakhter
fd60824979 Added a comment: different keys for the same content 2021-05-07 15:37:46 +00:00
Joey Hess
51eb04a05c
remove now redundant -O0
That is now enabled by -f-Production, since commit
cab398c945
2021-05-07 11:25:34 -04:00
Joey Hess
1bd44c7742
Merge remote-tracking branch 'atemu/misc-fixes' 2021-05-07 11:23:54 -04:00
Joey Hess
eaea173bc2
applied patch 2021-05-07 11:11:10 -04:00
Kyle Meyer
4450fe3629
fromkey: create directory for pointer files too
fromkey creates leading directories for symbolic links.  Do the same
for pointer files.
2021-05-07 11:10:06 -04:00
Joey Hess
5332cf8a80
Merge branch 'master' of ssh://git-annex.branchable.com 2021-05-07 11:09:21 -04:00
kyle
cc36fd261e reinject: silent failure with absolute path to pointer file 2021-05-06 19:26:52 +00:00
kyle
06e996efad patch: fromkey: create directory for pointer files too 2021-05-06 15:23:07 +00:00
pat
dab2030702 Added a comment 2021-05-05 22:51:29 +00:00
Joey Hess
18f27dc60d
update 2021-05-05 17:30:35 -04:00
pat
f3ee163b8e Added a comment 2021-05-05 19:39:12 +00:00
pat
da5598da21 2021-05-05 19:06:19 +00:00
Lukey
49f9f696f1 Added a comment 2021-05-05 18:08:49 +00:00
https://esgf-node.llnl.gov/esgf-idp/openid/tom_clune
5d8ee97297 2021-05-05 16:31:32 +00:00
Atemu
e686a878ed 2021-05-05 08:52:28 +00:00
Atemu
4da2206148 Added a comment 2021-05-05 07:33:07 +00:00
Atemu
78948270e2 2021-05-05 06:11:51 +00:00
Atemu
931a55b9a4 Added a comment 2021-05-05 06:04:49 +00:00
Atemu
cab398c945 Cabal: Use -O0 for development builds
Can be configured with `--flags=-production`

Time for full build on my machine: 2m -> 45s
2021-05-05 07:53:52 +02:00
Atemu
857bffe388 Added a comment 2021-05-05 05:43:56 +00:00
pat
5bb85d76d8 2021-05-05 02:51:47 +00:00
kyle
8f0ddf0925 git-commit pathspec change due to 424bef6b6 2021-05-04 21:43:41 +00:00
cecile.madjar@d95f9e618c3dff4829e7fedba1a71e1499542f3f
e66b5344e8 Added a comment 2021-05-04 21:12:52 +00:00
Lukey
72835347d5 Added a comment 2021-05-04 20:38:01 +00:00
Lukey
3eeb26474a Added a comment 2021-05-04 20:31:45 +00:00
cecile.madjar@d95f9e618c3dff4829e7fedba1a71e1499542f3f
9be367ca96 Added a comment 2021-05-04 20:24:51 +00:00
yarikoptic
4d6e5bc6ad removed 2021-05-04 19:57:53 +00:00
fortran
1a345c9001 Added a comment 2021-05-04 19:25:47 +00:00
fortran
30127348f0 Added a comment 2021-05-04 19:10:35 +00:00
yarikoptic
eac6b763d3 Added a comment 2021-05-04 17:51:09 +00:00
yarikoptic
66e175fec9 Added a comment 2021-05-04 17:50:45 +00:00
Atemu
6b23eb031f Added a comment 2021-05-04 17:37:04 +00:00
Atemu
6c6c5184a4 Added a comment 2021-05-04 17:19:57 +00:00
yarikoptic
1f7577839c Added a comment 2021-05-04 16:53:18 +00:00
Joey Hess
32e6d6880f
comment 2021-05-04 11:13:50 -04:00
Joey Hess
2d36fa7e17
comment 2021-05-04 10:56:27 -04:00
Joey Hess
20fee2ef04
response 2021-05-04 10:31:53 -04:00
Joey Hess
084f0e3e89
comment and todo 2021-05-04 10:14:53 -04:00
Joey Hess
447bffbb6b
remove my comment as someone else already answered it well 2021-05-04 09:52:50 -04:00
Joey Hess
8a61a801d5
response 2021-05-04 09:52:23 -04:00
Lukey
67a6bd51b5 Added a comment 2021-05-04 13:42:34 +00:00
fortran
76a1128c70 2021-05-04 12:56:53 +00:00
Atemu
0df9dc617f Added a comment 2021-05-04 12:46:59 +00:00
Atemu
a7f0014a53 Command/Multicast: use proper hyphen
GHC was complaining about it possibly being a homoglyph:

Command/Multicast.hs:111:36: error:
     warning: treating Unicode character <U+2212> as identifier character rather than as '-' symbol [-Wunicode-homoglyph]
            -- using a nice prime, namely 2521−1  but the sheer size of this
                                              ^
    |
111 |         -- using a nice prime, namely 2521−1  but the sheer size of this
    |                                    ^
1 warning generated.
2021-05-04 05:44:31 +02:00
Atemu
6299fd688b 2021-05-04 02:43:14 +00:00
Joey Hess
e811a50e2c
fix test that broke due to fromkey improvements
4588668a12 made fromkey honor adjusted
unlocked branches. Also, it can be used on a crippled filesystem now.
2021-05-03 14:09:49 -04:00
Joey Hess
424bef6b6f
smudge: check for known annexed inodes before checking annex.largefiles
smudge: Fix a case where an unlocked annexed file that annex.largefiles
does not match could get its unchanged content checked into git, due to git
running the smudge filter unecessarily.

When the file has the same inodecache as an already annexed file,
we can assume that the user is not intending to change how it's stored in
git.

Note that checkunchangedgitfile already handled the inverse case, where the
file was added to git previously. That goes further and actually sha1
hashes the new file and checks if it's the same hash in the index.

It would be possible to generate a key for the file and see if it's the
same as the old key, however that could be considerably more expensive than
sha1 of a small file is, and it is not necessary for the case I have, at
least, where the file is not modified or touched, and so its inode will
match the cache.
2021-05-03 13:26:32 -04:00