Joey Hess
bd197be3ad
annex.gitaddtoannex configuration
...
Added annex.gitaddtoannex configuration. Setting it to false prevents
git add from usually adding files to the annex.
(Unless the file was annexed before, or a renamed annexed file is detected.)
Currently left at true; some users are encouraging it be set to false.
2019-10-23 15:29:46 -04:00
Joey Hess
ec08b66bda
shouldAnnex: check isInodeKnown
...
Renamed unlocked files are now detected, and will always be
annexed, unless annex.largefiles disallows it.
This allows for git add's behavior to later be changed to otherwise
not annex files (whether by default or as a config option), without
worrying about the rename case.
This is not a major behavior change; annexing is still the default. But
there is one case where the behavior is changed, I think for the better:
touch f
git -c annex.largefiles=nothing add f
git add bigfile
git commit -m ...
mv bigfile f
git add f
Before, git-annex would see that f was previously not annexed,
and so the renamed bigfile content gets added to git. Now, it notices
that the inode is the one that bigfile used, and so it annexes it.
This potentially slows down git add a lot in some repositories because
of the poor performance of isInodeKnown when there are a lot of unlocked
files. Configuring annex.largefiles avoids the speed hit.
2019-10-23 14:49:45 -04:00
Joey Hess
94efc400e9
horrible impementation of isInodeKnown
...
The only good thing about it is it does not require a major version bump
to improve the database. That will need to happen at some point though.
Potentially very very slow in a large repository.
Ugly use of raw sql.
2019-10-23 14:37:29 -04:00
Joey Hess
eebf080b33
comment typo
2019-10-23 12:32:46 -04:00
Joey Hess
ff5c0ef43f
comment
2019-10-23 12:26:55 -04:00
Joey Hess
f318743f77
rename this so it does not start with a dash
2019-10-23 12:16:12 -04:00
Joey Hess
e98f230c95
remove unused function
2019-10-23 12:01:34 -04:00
Joey Hess
b23c87cd0f
fix formatting of inserted news
2019-10-23 12:01:09 -04:00
Joey Hess
940be8cd70
Merge branch 'master' of ssh://git-annex.branchable.com
2019-10-23 11:53:32 -04:00
Joey Hess
bbdeb1a1a8
sync: Fix crash when there are submodules and an adjusted branch is checked out
...
Reverse adjusting the branch uses treeItemToTreeContent, which was missed
when adding submodule support earlier.
2019-10-23 11:52:56 -04:00
spwhitton
f67285f079
Added a comment
2019-10-23 15:28:56 +00:00
spwhitton
2744c1d7a0
Added a comment
2019-10-23 15:25:30 +00:00
amindfv@6f75355c5dad3450ed73d1f01715be90dfdd6cd6
f6222bc6c4
Added a comment
2019-10-23 04:42:36 +00:00
amindfv@6f75355c5dad3450ed73d1f01715be90dfdd6cd6
3aec7db42e
Added a comment
2019-10-23 04:24:01 +00:00
Ilya_Shlyakhter
bafed0f619
Added a comment: can git add only annex already-annexed files?
2019-10-22 20:01:52 +00:00
Joey Hess
70b306ec34
start at analysis before dental appt
2019-10-22 15:46:34 -04:00
Joey Hess
13d86a9c88
reproduced
2019-10-22 15:33:00 -04:00
Joey Hess
7b1f1785aa
no, sorry, you don't get to conflate issues
2019-10-22 15:19:10 -04:00
Joey Hess
3f89b6bd3f
Merge branch 'master' of ssh://git-annex.branchable.com
2019-10-22 15:16:20 -04:00
Joey Hess
c4374e4aee
followup
2019-10-22 14:36:31 -04:00
Ilya_Shlyakhter
48999a3caf
Added a comment: locking files before reverting to v5
2019-10-22 18:25:11 +00:00
Joey Hess
5581dc3318
comment
2019-10-22 13:30:04 -04:00
Joey Hess
df963469f2
comment
2019-10-22 13:12:57 -04:00
Joey Hess
abb5b675f1
comment
2019-10-22 13:10:28 -04:00
Ilya_Shlyakhter
cf2d18a568
Added a comment: temporary manual downgrade of repos to v5 is possible
2019-10-22 16:40:32 +00:00
Ilya_Shlyakhter
00b1beb41b
removed
2019-10-22 16:35:15 +00:00
Ilya_Shlyakhter
74ee238671
Added a comment: temporary manual downgrade of repos to v5 is possible
2019-10-22 16:33:22 +00:00
CandyAngel
ebb893a177
Added a comment
2019-10-22 08:18:31 +00:00
leej
4175d50d4b
Added a comment: +1 to the comments above
2019-10-22 07:21:31 +00:00
irieger
ffbf205ab6
removed
2019-10-22 06:55:20 +00:00
irieger
4865102572
Added a comment: comment 3
2019-10-22 06:54:44 +00:00
irieger
d57751f51c
Added a comment: comment 3
2019-10-22 06:23:21 +00:00
Joey Hess
cf40f4df3e
comment
2019-10-22 00:38:33 -04:00
Joey Hess
0bff3c1070
comments
2019-10-22 00:14:03 -04:00
Ilya_Shlyakhter
e2ba1e09cf
Added a comment: check the 'git add' changes before upgrading
2019-10-22 00:27:51 +00:00
ghen1
916fd04d1a
2019-10-21 21:44:33 +00:00
Ilya_Shlyakhter
9a46f17e2c
Added a comment: skipping dotfiles
2019-10-21 20:39:09 +00:00
Ilya_Shlyakhter
b8fb0d5cb9
Added a comment: different annex.largefiles setting for git add than for git-annex add
2019-10-21 20:29:07 +00:00
Joey Hess
665646322b
comment
2019-10-21 16:01:26 -04:00
Joey Hess
f9464bd4be
Merge branch 'master' of ssh://git-annex.branchable.com
2019-10-21 15:24:19 -04:00
Joey Hess
913ac80d33
close a bug report redundant with an existing todo
...
copied over the dandi tag
updated the todo, as now that sameas is done it's unblocked
2019-10-21 15:23:04 -04:00
Joey Hess
76c050de92
comment
2019-10-21 15:05:23 -04:00
Joey Hess
b2880f045b
comment
2019-10-21 14:50:04 -04:00
nordmagnus999
be9453cf8a
Added a comment: Tor and the UUID folder
2019-10-21 18:43:36 +00:00
Joey Hess
869933877a
comment
2019-10-21 13:53:07 -04:00
Joey Hess
3d4aab38ce
remove obsolete comment
2019-10-21 13:51:38 -04:00
Joey Hess
668b878995
remove recently added and unncessary cwd parameter
...
I later made Utility.Su change back to the cwd, so this parameter is not
needed.
2019-10-21 13:48:52 -04:00
Joey Hess
b94f2c18e1
response
2019-10-21 13:13:21 -04:00
Joey Hess
a632a16f14
comment
2019-10-21 12:53:04 -04:00
Joey Hess
8b1243228a
Merge branch 'master' of ssh://git-annex.branchable.com
2019-10-21 12:50:18 -04:00