Commit graph

28752 commits

Author SHA1 Message Date
Joey Hess
f3b84f4603
Merge branch 'master' of ssh://git-annex.branchable.com 2016-09-26 16:49:21 -04:00
Joey Hess
8794dcf27b
Optimisations to time it takes git-annex to walk working tree and find files to work on. Sped up by around 18%.
key2file and file2key were top cost centers according to profiling.
The repeated use of replace was not efficient. This new approach is quite a
lot more efficient.

This commit was sponsored by Denis Dzyubenko on Patreon.
2016-09-26 16:48:57 -04:00
Joey Hess
a8734698eb
more profiling 2016-09-26 16:39:18 -04:00
Joey Hess
a197cf743d
profiling 2016-09-26 15:49:42 -04:00
sven.rieke@2bfe1de15de1bb402f962e41f9e5bfc1be1cf8d1
a1c7b514e7 2016-09-25 15:01:28 +00:00
sven.rieke@2bfe1de15de1bb402f962e41f9e5bfc1be1cf8d1
d8a714a881 2016-09-25 15:00:18 +00:00
madduck
40f41c3c4d 2016-09-25 13:25:03 +00:00
PaulK
ad5c60414e Added a comment 2016-09-25 03:08:41 +00:00
erics
348be33161 2016-09-25 02:28:19 +00:00
erics
a11c700aea Added a comment 2016-09-25 00:33:57 +00:00
PaulK
8b2d5e194f Added a comment 2016-09-24 04:16:52 +00:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
9c651b9608 Added a comment: +may be "byte-target" field? ;) 2016-09-24 02:43:22 +00:00
Joey Hess
bf1ef56fb9
remove cabal.config
fixes cabal sdist
2016-09-23 11:55:02 -04:00
Joey Hess
a59148c3a7
cleanup 2016-09-23 09:47:48 -04:00
Joey Hess
d1dabb3327
add news item for git-annex 6.20160923 2016-09-23 09:46:19 -04:00
Joey Hess
1678510680
prep release 2016-09-23 09:45:46 -04:00
Joey Hess
53650ffb14
Merge branch 'master' of ssh://git-annex.branchable.com 2016-09-23 09:43:03 -04:00
Joey Hess
fd03ff2b81
use System.Directory not Utility.Directory
This module does not use isSymbolicLink so avoid depending on extra
Utility.* stuff, to make it more easily reused elsewhere.
2016-09-22 11:34:55 -04:00
Joey Hess
4f7a50f27d
avoid needing PartialPrelude 2016-09-22 11:29:53 -04:00
Joey Hess
ece88889a7
use takeDirectory instead of parentDir
No need for a trailing slash in the directory here, so avoid pulling in an
extra module.
2016-09-22 11:25:01 -04:00
Joey Hess
b69b764717
avoid using split unnecessarily
I'd like to get rid of all uses of Data.String.Utils eventually..
2016-09-22 11:22:41 -04:00
https://anarc.at/openid/
184153ba98 Added a comment: thanks for considering this! 2016-09-22 12:43:12 +00:00
JasonWoof
b1bdb2b898 Added a comment: simpler use case 2016-09-22 00:40:08 +00:00
interfect@b151490178830f44348aa57b77ad58c7d18e8fe7
8510652dd4 Added a comment 2016-09-21 22:49:56 +00:00
Joey Hess
a862e10f7c
Merge branch 'master' of ssh://git-annex.branchable.com 2016-09-21 18:02:53 -04:00
Joey Hess
e72a0875f0
pin concurrent-output to a version that works on windows 2016-09-21 18:01:46 -04:00
Joey Hess
4b26aee92c
Revert "stack.yaml: Update to lts-7.0 (ghc 8)"
This reverts commit e181603103.

This broke the i386ancient autobuilder due to its use of
--flag git-annex:XMPP --flag=git-annex:dbus

-- Failure when adding dependencies:
fdo-notify: needed ((>=0.3)), stack configuration has no specified version
(latest applicable is 0.3.1)
gnutls: needed ((>=0.1.4)), stack configuration has no specified version
(latest applicable is 0.2)
network-protocol-xmpp: needed (-any), stack configuration has no specified
version (latest applicable is 0.4.8)

OSX autobuilder also seems hosed by it, so too soon.

De-revert later..
2016-09-21 18:01:23 -04:00
Joey Hess
d9a0f26560
devblog 2016-09-21 17:56:50 -04:00
Joey Hess
c8edd22aee
update 2016-09-21 17:56:40 -04:00
Joey Hess
ef681321a9
comment 2016-09-21 17:53:59 -04:00
dave@2ab82f485adf7e2ce787066e35f5f9789bff430b
29b29a81fa Added a comment: re: regular ssh remote 2016-09-21 21:30:25 +00:00
Joey Hess
c910004d50
addurl, importfeed: Improve behavior when file being added is gitignored. 2016-09-21 17:21:48 -04:00
dave@2ab82f485adf7e2ce787066e35f5f9789bff430b
04ac96e232 Added a comment: re: mangling is normal 2016-09-21 21:12:16 +00:00
Joey Hess
f7ac2bc868
comment 2016-09-21 16:46:45 -04:00
Joey Hess
db2eba442a
comment 2016-09-21 16:38:02 -04:00
Joey Hess
44acb145e0
comment 2016-09-21 16:23:41 -04:00
Joey Hess
ca5902e14f
Merge branch 'master' of ssh://git-annex.branchable.com 2016-09-21 16:15:13 -04:00
Joey Hess
bd2cfe008c
response 2016-09-21 16:14:11 -04:00
Joey Hess
0de88a9b68
response 2016-09-21 16:05:50 -04:00
Joey Hess
10b22a2548
comment 2016-09-21 15:58:02 -04:00
Joey Hess
3b2222d753
update 2016-09-21 15:53:34 -04:00
Joey Hess
181d027ace
merge 2016-09-21 15:47:37 -04:00
Joey Hess
08b7832d9d
comment 2016-09-21 15:39:32 -04:00
interfect@b151490178830f44348aa57b77ad58c7d18e8fe7
3ed30143a7 Added a comment 2016-09-21 19:32:07 +00:00
Joey Hess
5057234dec
Merge branch 'master' of ssh://git-annex.branchable.com 2016-09-21 15:24:53 -04:00
Joey Hess
a569f195b7
fix bugs in handing of deep branches with sync and adjusted branches
* sync: Previously, when run in a branch with a slash in its name,
  such as "foo/bar", the sync branch was "synced/bar". That conflicted
  with the sync branch used for branch "bar", so has been changed to
  "synced/foo/bar".
* adjust: Previously, when adjusting a branch with a slash in its name,
  such as "foo/bar", the adjusted branch was "adjusted/bar(unlocked)".
  That conflicted with the adjusted branch used for branch "bar",
  so has been changed to "adjusted/foo/bar(unlocked)"
* Also, running sync in an adjusted branch did not correctly sync
  changes back to the parent branch when it had a slash in its name.
  This bug has been fixed.

Eliminate use of Git.Ref.under and Git.Ref.basename; using
Git.Ref.underBase and Git.Ref.base make everything handle deep branches
correctly.

Probably noone was adjusting deep branches, and v6 is still experimental
anyway, so I'm not going to worry about the mess that was left by that bug.

In the case of git-annex sync, using a fixed git-annex with an old unfixed
one will mean they use different sync branches for a deep branch, and so
they may stop syncing until the old one is upgraded. However, that's only
a problem when syncing between repositories without going via a central
bare repository. Added a warning about this to the CHANGELOG, but it's
probably not going to affect many people at all.

This commit was sponsored by Riku Voipio.
2016-09-21 15:23:47 -04:00
interfect@b151490178830f44348aa57b77ad58c7d18e8fe7
8abcc4c282 Added a comment: Pre Commit Hook 2016-09-21 19:20:05 +00:00
Joey Hess
99982e2830
improve comment 2016-09-21 14:57:44 -04:00
Joey Hess
8dae86eac2
bug 2016-09-21 14:57:20 -04:00
Joey Hess
489b9c8869
comments 2016-09-21 14:29:17 -04:00