git-annex.git
2 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 22 Aug 2023 19:01:43 +0000 (15:01 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

2 years agooldkeys --revision-range
Joey Hess [Tue, 22 Aug 2023 19:00:29 +0000 (15:00 -0400)]
oldkeys --revision-range

Sponsored-by: Brett Eisenberg on Patreon
2 years agooldkeys: New command that lists the keys used by old versions of a file
Joey Hess [Tue, 22 Aug 2023 18:51:06 +0000 (14:51 -0400)]
oldkeys: New command that lists the keys used by old versions of a file

The tricky thing about this turned out to be handling renames and reverts.
For that, it has to make two passes over the git log, and to avoid
buffering a possibly huge amount of logs in memory (ie the whole git log of
an entire repository!), runs git log twice.

(It might be possible to speed this up by asking git log to show a diff,
and so avoid needing to use catKey.)

Sponsored-By: Brock Spratlen on Patreon
2 years agoAdded a comment
nobodyinperson [Tue, 22 Aug 2023 17:57:45 +0000 (17:57 +0000)]
Added a comment

2 years agoAdded a comment: Oh yes please 🤩
nobodyinperson [Tue, 22 Aug 2023 16:48:58 +0000 (16:48 +0000)]
Added a comment: Oh yes please 🤩

2 years agocomment, todo
Joey Hess [Tue, 22 Aug 2023 16:38:00 +0000 (12:38 -0400)]
comment, todo

2 years agocomment
Joey Hess [Tue, 22 Aug 2023 16:21:17 +0000 (12:21 -0400)]
comment

2 years agocomment
Joey Hess [Tue, 22 Aug 2023 16:10:46 +0000 (12:10 -0400)]
comment

2 years agodiffdriver: Added --get option
Joey Hess [Tue, 22 Aug 2023 15:58:13 +0000 (11:58 -0400)]
diffdriver: Added --get option

Removed the dontCheck repoExists, because running it in a repo that has not
been initialized yet would update location log with nouuid. And I guess
it's ok for it to only support running in git-annex repos.

2 years agoavoid unncessary use of curl when conduit will do
Joey Hess [Tue, 22 Aug 2023 14:25:53 +0000 (10:25 -0400)]
avoid unncessary use of curl when conduit will do

Avoid using curl when annex.security.allowed-ip-addresses is set but
neither annex.web-options nor annex.security.allowed-url-schemes is set to
a value that needs curl.

Bug introduced in 840bd50390437a91c39fb7da1ba8d5bf07fed457

Sponsored-By: Brock Spratlen on Patreon
3 years agofix build on windows
Joey Hess [Fri, 18 Aug 2023 17:03:47 +0000 (13:03 -0400)]
fix build on windows

thanks to jkniiv

3 years agoreport on a build failure on Windows regarding Utility.Url.Parse
jkniiv [Thu, 17 Aug 2023 09:53:39 +0000 (09:53 +0000)]
report on a build failure on Windows regarding Utility.Url.Parse

3 years agomention that the default is only available remotes
Joey Hess [Wed, 16 Aug 2023 20:03:05 +0000 (16:03 -0400)]
mention that the default is only available remotes

3 years agodone
Joey Hess [Wed, 16 Aug 2023 20:02:03 +0000 (16:02 -0400)]
done

3 years agoconvert checkAvailable to use availability rather than localpath
Joey Hess [Wed, 16 Aug 2023 19:57:30 +0000 (15:57 -0400)]
convert checkAvailable to use availability rather than localpath

Every remote that sets localpath also implements an availability that
reutrns Unavailable when a local directory is not available.

This makes external remotes, and others that get support for
availability Unavailable to be used by checkAvailable. (Which is only
used by the assistant.)

Had to keep localpath though, since other parts of the assistant use it
to eg, sync with a remote when a removable drive is plugged in.

Sponsored-by: Jack Hill on Patreon
3 years agoimplement Unavilable for gcrypt
Joey Hess [Wed, 16 Aug 2023 19:54:54 +0000 (15:54 -0400)]
implement Unavilable for gcrypt

Sponsored-by: Brett Eisenberg on Patreon
3 years agoimplement Unavilable for borg bup ddar directory rsync
Joey Hess [Wed, 16 Aug 2023 19:48:09 +0000 (15:48 -0400)]
implement Unavilable for borg bup ddar directory rsync

Only gcrypt remains to add support for. (Well, possibly also adb?)

Sponsored-by: Luke T. Shumaker on Patreon
3 years agoinfo: Added available to the info displayed for a remote
Joey Hess [Wed, 16 Aug 2023 18:52:51 +0000 (14:52 -0400)]
info: Added available to the info displayed for a remote

Sponsored-by: Kevin Mueller on Patreon
3 years agolet Remote.availability return Unavilable
Joey Hess [Wed, 16 Aug 2023 18:31:31 +0000 (14:31 -0400)]
let Remote.availability return Unavilable

This is groundwork for making special remotes like borg be skipped by
sync when on an offline drive.

Added AVAILABILITY UNAVAILABLE reponse and the UNAVAILABLERESPONSE extension
to the external special remote protocol. The extension is needed because
old git-annex, if it sees that response, will display a warning
message. (It does continue as if the remote is globally available, which
is acceptable, and the warning is only displayed at initremote due to
remote.name.annex-availability caching, but still it seemed best to make
this a protocol extension.)

The remote.name.annex-availability git config is no longer used any
more, and is documented as such. It was only used by external special
remotes to cache the availability, to avoid needing to start the
external process every time. Now that availability is queried as an
Annex action, the external is only started by sync (and the assistant),
when they actually check availability.

Sponsored-by: Nicholas Golder-Manning on Patreon
3 years agomove comment
Joey Hess [Wed, 16 Aug 2023 17:19:17 +0000 (13:19 -0400)]
move comment

3 years agocomment
Joey Hess [Wed, 16 Aug 2023 17:16:49 +0000 (13:16 -0400)]
comment

3 years ago(no commit message)
anarcat [Wed, 16 Aug 2023 14:40:17 +0000 (14:40 +0000)]

3 years agoupdate
Joey Hess [Tue, 15 Aug 2023 18:22:30 +0000 (14:22 -0400)]
update

Last commit also removed curl from linux standalone tarball.
Which may or may not have been a mistake.. I'm inclined to go ahead and
simplify it.

3 years agoStop bundling curl in the OSX dmg
Joey Hess [Tue, 15 Aug 2023 18:21:53 +0000 (14:21 -0400)]
Stop bundling curl in the OSX dmg

New curl binary links to libldap with a @loader_path that prevents using
the binary when the dmg is used elsewhere.
See https://github.com/datalad/git-annex/issues/170

git-annex doesn't use curl by default anyway, so it doesn't really need to
be included in the dmg.

3 years agocomment
Joey Hess [Tue, 15 Aug 2023 17:21:28 +0000 (13:21 -0400)]
comment

3 years agofix empty tree import when directory does not exist
Joey Hess [Tue, 15 Aug 2023 16:57:41 +0000 (12:57 -0400)]
fix empty tree import when directory does not exist

Fix behavior when importing a tree from a directory remote when the
directory does not exist. An empty tree was imported, rather than the
import failing. Merging that tree would delete every file in the
branch, if those files had been exported to the directory before.

The problem was that dirContentsRecursive returned [] when the directory
did not exist. Better for it to throw an exception. But in commit
74f0d67aa3988a71f3a53b88de4344272d924b95 back in 2012, I made it never
theow exceptions, because exceptions throw inside unsafeInterleaveIO become
untrappable when the list is being traversed.

So, changed it to list the contents of the directory before entering
unsafeInterleaveIO. So exceptions are thrown for the directory. But still
not if it's unable to list the contents of a subdirectory. That's less of a
problem, because the subdirectory does exist (or if not, it got removed
after being listed, and it's ok to not include it in the list). A
subdirectory that has permissions that don't allow listing it will have its
contents omitted from the list still.

(Might be better to have it return a type that includes indications of
errors listing contents of subdirectories?)

The rest of the changes are making callers of dirContentsRecursive
use emptyWhenDoesNotExist when they relied on the behavior of it not
throwing an exception when the directory does not exist. Note that
it's possible some callers of dirContentsRecursive that used to ignore
permissions problems listing a directory will now start throwing exceptions
on them.

The fix to the directory special remote consisted of not making its
call in listImportableContentsM use emptyWhenDoesNotExist. So it will
throw an exception as desired.

Sponsored-by: Joshua Antonishen on Patreon
3 years agoremove unused imports
Joey Hess [Tue, 15 Aug 2023 16:43:26 +0000 (12:43 -0400)]
remove unused imports

3 years agochange sync content transition plan and fine tune warning
Joey Hess [Mon, 14 Aug 2023 17:51:35 +0000 (13:51 -0400)]
change sync content transition plan and fine tune warning

Only display warning when git-annex sync (without --content or
--no-content) is used with repositories that have preferred content
configured.

Sponsored-by: Leon Schuermann on Patreon
3 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 14 Aug 2023 16:29:53 +0000 (12:29 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 years agosplit out Utility.Url.Parse
Joey Hess [Mon, 14 Aug 2023 16:28:10 +0000 (12:28 -0400)]
split out Utility.Url.Parse

This is mostly for git-repair which can't include all of Utility.Url
without adding many dependencies that are not really necessary.

3 years agoinclude system that i forgot in report
aurtzy [Sun, 13 Aug 2023 19:48:46 +0000 (19:48 +0000)]
include system that i forgot in report

3 years ago(no commit message)
aurtzy [Fri, 11 Aug 2023 01:22:30 +0000 (01:22 +0000)]

3 years agoAdded a comment
nobodyinperson [Thu, 10 Aug 2023 01:08:16 +0000 (01:08 +0000)]
Added a comment

3 years ago(no commit message)
anarcat [Thu, 10 Aug 2023 00:37:15 +0000 (00:37 +0000)]

3 years ago(no commit message)
anarcat [Thu, 10 Aug 2023 00:36:56 +0000 (00:36 +0000)]

3 years agoAdd git-annex remote refs that are not newer to the merged refs list
Joey Hess [Wed, 9 Aug 2023 17:30:43 +0000 (13:30 -0400)]
Add git-annex remote refs that are not newer to the merged refs list

Significant startup speed increase by avoiding repeatedly checking if some
remote git-annex branch refs need to be merged when it is not newer.

One way this could happen is when there are 2 remotes that are themselves
connected. The git-annex branch on the first remote gets updated. Then the
second remote pulls from the first, and merges in its git-annex branch.
Then the local repo pulls from the second remote, and merges its git-annex
branch. At this point, a pull from the first remote will get a git-annex
branch that is not newer, but is not on the merged refs list.

In my big repo, git-annex startup time dropped from 4 seconds to 0.1 seconds.
There were 5 to 10 such remote refs out of 18 remotes.

Sponsored-by: Graham Spencer on Patreon
3 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 9 Aug 2023 16:43:56 +0000 (12:43 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 years agoinfo: Added --dead-repositories option
Joey Hess [Wed, 9 Aug 2023 16:43:48 +0000 (12:43 -0400)]
info: Added --dead-repositories option

I considered a more wide-ranging config option to make other commands
also show dead repositories. But it would be difficult to implement that
because Remote.keyLocations is used to get locations, filtering out dead
repos, and commands like get then try to use those locations. So a config
setting would make dead repos sometimes be acted on by commands.

Sponsored-by: unqueued on Patreon
3 years agoAdded a comment
nobodyinperson [Wed, 9 Aug 2023 05:31:26 +0000 (05:31 +0000)]
Added a comment

3 years agoclosing dup
Joey Hess [Tue, 8 Aug 2023 17:45:37 +0000 (13:45 -0400)]
closing dup

3 years agocomment
Joey Hess [Tue, 8 Aug 2023 17:43:04 +0000 (13:43 -0400)]
comment

3 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 8 Aug 2023 17:11:07 +0000 (13:11 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 years agofix link
Joey Hess [Tue, 8 Aug 2023 17:11:00 +0000 (13:11 -0400)]
fix link

3 years agolink
Joey Hess [Tue, 8 Aug 2023 17:08:56 +0000 (13:08 -0400)]
link

3 years agoAdded a comment
jkniiv [Tue, 8 Aug 2023 16:38:53 +0000 (16:38 +0000)]
Added a comment

3 years agoFix behavior of onlyingroup
Joey Hess [Mon, 7 Aug 2023 17:05:11 +0000 (13:05 -0400)]
Fix behavior of onlyingroup

Sponsored-by: k0ld on Patreon
3 years agoremoved
xvorsx@a3fc1a0cf228782f624e5eb21ba8a664227b6c60 [Mon, 7 Aug 2023 07:20:55 +0000 (07:20 +0000)]
removed

3 years agoremoved
xvorsx@a3fc1a0cf228782f624e5eb21ba8a664227b6c60 [Mon, 7 Aug 2023 07:20:40 +0000 (07:20 +0000)]
removed

3 years agoremoved
xvorsx@a3fc1a0cf228782f624e5eb21ba8a664227b6c60 [Mon, 7 Aug 2023 07:20:25 +0000 (07:20 +0000)]
removed

3 years agoAdded a comment
xvorsx@a3fc1a0cf228782f624e5eb21ba8a664227b6c60 [Mon, 7 Aug 2023 07:19:57 +0000 (07:19 +0000)]
Added a comment

3 years agoAdded a comment
xvorsx@a3fc1a0cf228782f624e5eb21ba8a664227b6c60 [Mon, 7 Aug 2023 07:19:46 +0000 (07:19 +0000)]
Added a comment

3 years agoAdded a comment
xvorsx@a3fc1a0cf228782f624e5eb21ba8a664227b6c60 [Mon, 7 Aug 2023 07:19:35 +0000 (07:19 +0000)]
Added a comment

3 years agoAdded a comment
xvorsx@a3fc1a0cf228782f624e5eb21ba8a664227b6c60 [Mon, 7 Aug 2023 07:19:25 +0000 (07:19 +0000)]
Added a comment

3 years agoreport on --onlyingroup only partially working
jkniiv [Sat, 5 Aug 2023 11:15:30 +0000 (11:15 +0000)]
report on --onlyingroup only partially working

3 years agouse new bloomfilter release
Joey Hess [Fri, 4 Aug 2023 21:14:04 +0000 (17:14 -0400)]
use new bloomfilter release

Build with new ghc and also fixes a bug on 32 bit

3 years agocomment
Joey Hess [Fri, 4 Aug 2023 16:31:51 +0000 (12:31 -0400)]
comment

3 years agoupdate
Joey Hess [Thu, 3 Aug 2023 16:42:08 +0000 (12:42 -0400)]
update

3 years agoadd news item for git-annex 10.20230802
Joey Hess [Wed, 2 Aug 2023 20:09:26 +0000 (16:09 -0400)]
add news item for git-annex 10.20230802

3 years agoreleasing package git-annex version 10.20230802
Joey Hess [Wed, 2 Aug 2023 20:09:14 +0000 (16:09 -0400)]
releasing package git-annex version 10.20230802

3 years agowindows back to lts-18.13 temporarily
Joey Hess [Wed, 2 Aug 2023 16:48:12 +0000 (12:48 -0400)]
windows back to lts-18.13 temporarily

I can't seem to get stack to resolve dependencies with Win32-2.13.4.0,
no matter what I try. Why it blows up, I don't know.

And allow-newer: true actually causes it to downgrade Win32 to the one
version that won't build. Unbelivable that allows downgrades.

So just gonna have to wait for that to get into stackage nightly, and
then stack.yaml can be updated to use that, and the changes in this
commit reverted.

3 years agoremove support for building with older Win32
Joey Hess [Wed, 2 Aug 2023 15:59:57 +0000 (11:59 -0400)]
remove support for building with older Win32

No need to preserve this since the cabal file depends on the newer one.

3 years agorelocate BLOCK.txt to move convenient location
Joey Hess [Wed, 2 Aug 2023 15:58:07 +0000 (11:58 -0400)]
relocate BLOCK.txt to move convenient location

3 years agofix stack build on windows
Joey Hess [Wed, 2 Aug 2023 15:50:12 +0000 (11:50 -0400)]
fix stack build on windows

For whatever reason, putting Win32-2.13.4.0 in stack.yaml results in
stack blowing up with many unrelated dependency problems.
But making git-annex depend on that version lets stack resolve deps.

3 years agopin win32 to working version
Joey Hess [Wed, 2 Aug 2023 14:48:23 +0000 (10:48 -0400)]
pin win32 to working version

3 years agofix build on windows
Joey Hess [Wed, 2 Aug 2023 14:43:20 +0000 (10:43 -0400)]
fix build on windows

3 years agoavoid cpp failure on windows
Joey Hess [Wed, 2 Aug 2023 14:08:00 +0000 (10:08 -0400)]
avoid cpp failure on windows

Seems that while the module is not imported by anything on windows, it
still gets cpped, and MIN_VERSION_unix is not defined so it failed to
preprocess.

3 years agoenable TypeOperators
Joey Hess [Wed, 2 Aug 2023 13:47:42 +0000 (09:47 -0400)]
enable TypeOperators

more warnings about ~ needing it in a future ghc release

3 years agoadd back utf8-string to setup build deps
Joey Hess [Wed, 2 Aug 2023 13:29:23 +0000 (09:29 -0400)]
add back utf8-string to setup build deps

Needed on Windows since Utility.FileSystemEncoding uses it

3 years agofix hang when built with unix-2.8
Joey Hess [Wed, 2 Aug 2023 00:17:29 +0000 (20:17 -0400)]
fix hang when built with unix-2.8

git-annex test hang when running git-annex add in an adjusted unlocked
branch. I couldn't seem to reproduce the hang outside the test suite.

Seems that the code added in 26a9ea12d11f85b43987d863449c790f7320d9d1
was buggy, and as that commit was made without testing it, building with
unix-2.8 exposed the bug.

I don't fully understand the bug, which involves fdToHandle
and then closing the fd, vs closing the handle. May somehow involve
laziness or forcing around the S.hGet? Using hClose solved it
in any case.

(Also eliminated checkcontentfollowssymlinks to fix a build warning
when it's not used.)

3 years agostack.yaml: Update to build with ghc-9.6.2 and aws-0.24
Joey Hess [Tue, 1 Aug 2023 22:53:26 +0000 (18:53 -0400)]
stack.yaml: Update to build with ghc-9.6.2 and aws-0.24

This enables some new features that need the new aws.

Use http-client-restricted-0.1.0 because it uses the crypton side of the
cryptonite/crypton fork, which seems to be needed for ghc-9.6.2.

Dependency on connection removed because of the cryptonite/crypton fork.
This avoids needing a build flag. It was only used to throw a typed
exception in Utility.Url, which nothing depended on.

Used a fork of bloomfilter because it's not being maintained and no longer
builds as-of this ghc version. (I have been trying to contact its
maintainer about it, and emailed him today suggesting I take over the
package.)

Sponsored-by: Brock Spratlen on Patreon
3 years agofix build with unix-2.8.0
Joey Hess [Tue, 1 Aug 2023 22:41:27 +0000 (18:41 -0400)]
fix build with unix-2.8.0

Changed the parameters to openFd. So needed to add a small wrapper
library to keep supporting older versions as well.

3 years agoenable TypeOperators
Joey Hess [Tue, 1 Aug 2023 22:39:01 +0000 (18:39 -0400)]
enable TypeOperators

3 years agofix whitespace
Joey Hess [Tue, 1 Aug 2023 22:36:54 +0000 (18:36 -0400)]
fix whitespace

Thanks to a compile warning from new ghc

3 years agoenable TypeOperators
Joey Hess [Tue, 1 Aug 2023 22:33:39 +0000 (18:33 -0400)]
enable TypeOperators

    The use of ‘~’ without TypeOperators
    will become an error in a future GHC release.

says new ghc

3 years agofix build with unix-2.8.0
Joey Hess [Tue, 1 Aug 2023 22:27:12 +0000 (18:27 -0400)]
fix build with unix-2.8.0

got the arguments the wrong way around when I wrote this

also squelch a build warning

3 years agofix build with unix-2.8.0
Joey Hess [Tue, 1 Aug 2023 21:47:30 +0000 (17:47 -0400)]
fix build with unix-2.8.0

It made UserInfo into a pattern to discourage manually constructing
them, so just to use UserInfo in a type signature of a function that
consumes them, have to import the new ByteString module.

3 years agofix build on windows
Joey Hess [Tue, 1 Aug 2023 21:38:59 +0000 (17:38 -0400)]
fix build on windows

3 years agorewrap
Joey Hess [Tue, 1 Aug 2023 19:47:05 +0000 (15:47 -0400)]
rewrap

3 years agosupport building with unix-compat 0.7
Joey Hess [Tue, 1 Aug 2023 19:17:43 +0000 (15:17 -0400)]
support building with unix-compat 0.7

It removed System.PosixCompat.User.

3 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 1 Aug 2023 19:17:07 +0000 (15:17 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 years agoSetup.hs: Stop installing man pages, desktop files, and the git-annex-shell and git...
Joey Hess [Tue, 1 Aug 2023 19:08:56 +0000 (15:08 -0400)]
Setup.hs: Stop installing man pages, desktop files, and the git-annex-shell and git-remote-tor-annex symlinks

Anything still relying on that, eg via cabal v1-install will need to
change to using make install-home. Which was added back in 2019 in
6491b626140a9e5cc8e99fff4a1434d7c0e9bc39 because cabal new-build
(now the default) already didn't use Setup in a way that let its
installation of those things work.

Notably this means Setup does not need to depend on unix-compat, which is
useful because in 0.7 it removed System.PosixCompat.User, which Setup
needed to determine where to install the desktop files. See
https://github.com/haskell-pkg-janitors/unix-compat/issues/3

3 years ago(no commit message)
xvorsx@a3fc1a0cf228782f624e5eb21ba8a664227b6c60 [Tue, 1 Aug 2023 06:36:50 +0000 (06:36 +0000)]

3 years agoAdd missing formatting backtick
nobodyinperson [Tue, 1 Aug 2023 05:32:19 +0000 (05:32 +0000)]
Add missing formatting backtick

3 years agoonlyingroup
Joey Hess [Mon, 31 Jul 2023 18:43:58 +0000 (14:43 -0400)]
onlyingroup

* Support "onlyingroup=" in preferred content expressions.
* Support --onlyingroup= matching option.

Sponsored-by: Jack Hill on Patreon
3 years agofoo
Joey Hess [Mon, 31 Jul 2023 18:03:18 +0000 (14:03 -0400)]
foo

3 years agocomment
Joey Hess [Mon, 31 Jul 2023 18:01:33 +0000 (14:01 -0400)]
comment

3 years agocomment
Joey Hess [Mon, 31 Jul 2023 17:50:12 +0000 (13:50 -0400)]
comment

3 years agomention --explain
Joey Hess [Mon, 31 Jul 2023 17:28:02 +0000 (13:28 -0400)]
mention --explain

Sponsored-by: Dartmouth College's DANDI project
3 years agodisplay explanations in --debug too
Joey Hess [Mon, 31 Jul 2023 17:06:40 +0000 (13:06 -0400)]
display explanations in --debug too

When --explain is not enabled. This can be useful debugging information
as well.

Sponsored-by: Dartmouth College's DANDI project
3 years ago--explain for numcopies checks
Joey Hess [Mon, 31 Jul 2023 16:36:13 +0000 (12:36 -0400)]
--explain for numcopies checks

And closed the todo as completed.

Sponsored-by: Dartmouth College's DANDI project
3 years agoAdded a comment: onlyingroup also useful for offline backup drives
nobodyinperson [Mon, 31 Jul 2023 04:40:43 +0000 (04:40 +0000)]
Added a comment: onlyingroup also useful for offline backup drives

3 years agoAdded a comment
nobodyinperson [Sun, 30 Jul 2023 06:53:58 +0000 (06:53 +0000)]
Added a comment

3 years ago(no commit message)
branch [Sat, 29 Jul 2023 21:35:16 +0000 (21:35 +0000)]

3 years agoAdded a comment: No built-in way for dropping all old versions of a file AFAIK
nobodyinperson [Sat, 29 Jul 2023 17:43:41 +0000 (17:43 +0000)]
Added a comment: No built-in way for dropping all old versions of a file AFAIK

3 years agoSuggest that git annex diffdriver fetches content to diff
nobodyinperson [Sat, 29 Jul 2023 17:07:22 +0000 (17:07 +0000)]
Suggest that git annex diffdriver fetches content to diff

3 years agoAdded a comment: Dropping all older versions of a file
mario [Sat, 29 Jul 2023 12:57:03 +0000 (12:57 +0000)]
Added a comment: Dropping all older versions of a file

3 years agoAdded a comment
aragilar [Fri, 28 Jul 2023 02:47:42 +0000 (02:47 +0000)]
Added a comment

3 years agoAdded a comment: --explain is very helpful 👍
nobodyinperson [Thu, 27 Jul 2023 15:22:47 +0000 (15:22 +0000)]
Added a comment: --explain is very helpful 👍

3 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 26 Jul 2023 19:44:47 +0000 (15:44 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 years agoimprove match explanations
Joey Hess [Wed, 26 Jul 2023 19:29:23 +0000 (15:29 -0400)]
improve match explanations

Using == and != proved too hard to read, so went with [TRUE] and [FALSE]
after the term. I would kind of liked to have used emojis for a green
check and red X, but probably that is too fancy to be a good idea.

Make --explain output be inside [ ] with whitespace around them, to
avoid it ending with eg "[FALSE]]" and to make it easier to visually
find the start of it.

Sponsored-by: Dartmouth College's DANDI project